Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jesper Juhl <jesper.juhl@...>
Cc: Ben Dooks <ben@...>, Vincent Sanders <vince@...>, <linux-kernel@...>
Date: Sunday, April 13, 2008 - 3:03 pm

On Sun, Apr 13, 2008 at 08:55:21PM +0200, Jesper Juhl wrote:

When I removed unused code outright some people complained that they 
plan to use it tomorrow or in the next millenium or whenever.

When I #if 0 it other people complain that I should remove it outright.

So whatever I do, there's always someone complaining.  ;-)

In this case the code looks as if it might get used at some point in the 
future.

But if a maintainer tells me to resend a patch with the code removed 
instead of #if 0'ed I'm always glad to do this.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] mfd/sm501.c: #if 0 unused functions, Adrian Bunk, (Sun Apr 13, 2:15 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Jesper Juhl, (Sun Apr 13, 2:55 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Adrian Bunk, (Sun Apr 13, 3:03 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Jesper Juhl, (Sun Apr 13, 3:08 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Adrian Bunk, (Sun Apr 13, 3:24 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Jesper Juhl, (Sun Apr 13, 3:34 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Adrian Bunk, (Sun Apr 13, 3:47 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Jesper Juhl, (Sun Apr 13, 3:53 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Dmitri Vorobiev, (Sun Apr 13, 3:32 pm)
Re: [2.6 patch] mfd/sm501.c: #if 0 unused functions, Adrian Bunk, (Sun Apr 13, 3:43 pm)