mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "Adrian Bunk" <bunk@kernel.org>
Cc: "Ben Dooks" <ben@simtec.co.uk>,
	"Vincent Sanders" <vince@simtec.co.uk>,
	linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions
Date: Sun, 13 Apr 2008 21:53:29 +0200	[thread overview]
Message-ID: <9a8748490804131253qcd8d61et945b830d12669730@mail.gmail.com> (raw)
In-Reply-To: <20080413194755.GB13920@cs181133002.pp.htv.fi>

On 13/04/2008, Adrian Bunk <bunk@kernel.org> wrote:
> On Sun, Apr 13, 2008 at 09:34:24PM +0200, Jesper Juhl wrote:
>  >...
>  > Please don't see my comments as complaints. They are not intended as
>  > such. I'm merely currious why we keep adding all these '#if 0's since
>  > I don't see the point and I can just see them piling up into some huge
>  > janitorial mountain from hell to be tackled some time in the future by
>  > whomever is masochistic enough to try ;-)
>
>
> The main advantage of the #if 0 solution is that it not only stops
>  bloating the kernel image, but in the frequent "I might need it some day"
>  case I can simply say "no problem with my patch - just remove the #if 0".
>
Heh, and in the mean time I'm tempted to submit a huge patch removing
all code within
  #if 0
  #endif
outright.
Just to get rid of all the useless code we are carrying around from
release to release.
Those 2168 '#if 0' blocks amount to quite a lot of
code^d^d^d^dcomments and most of it is just useless...  But, before I
attempt that I need to go and buy new flame proof underwear.


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

  reply	other threads:[~2008-04-13 19:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 18:15 Adrian Bunk
2008-04-13 18:55 ` Jesper Juhl
2008-04-13 19:03   ` Adrian Bunk
2008-04-13 19:08     ` Jesper Juhl
2008-04-13 19:24       ` Adrian Bunk
2008-04-13 19:32         ` Dmitri Vorobiev
2008-04-13 19:43           ` Adrian Bunk
2008-04-13 19:34         ` Jesper Juhl
2008-04-13 19:47           ` Adrian Bunk
2008-04-13 19:53             ` Jesper Juhl [this message]
2008-05-05 18:25 Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a8748490804131253qcd8d61et945b830d12669730@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=ben@simtec.co.uk \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vince@simtec.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®