mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block()
@ 2005-12-03 12:19 Adrian Bunk
  2005-12-03 12:28 ` Jesper Juhl
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2005-12-03 12:19 UTC (permalink / raw)
  To: al; +Cc: linux-kernel

qnx4_new_block() is neither implemented nor used.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c.old	2005-12-03 11:32:46.000000000 +0100
+++ linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c	2005-12-03 11:33:07.000000000 +0100
@@ -23,10 +23,12 @@
 #include <linux/buffer_head.h>
 #include <linux/bitops.h>
 
+#if 0
 int qnx4_new_block(struct super_block *sb)
 {
 	return 0;
 }
+#endif  /*  0  */
 
 static void count_bits(register const char *bmPart, register int size,
 		       int *const tf)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block()
  2005-12-03 12:19 [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block() Adrian Bunk
@ 2005-12-03 12:28 ` Jesper Juhl
  2005-12-03 12:46   ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Juhl @ 2005-12-03 12:28 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: al, linux-kernel

On 12/3/05, Adrian Bunk <bunk@stusta.de> wrote:
> qnx4_new_block() is neither implemented nor used.
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> --- linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c.old   2005-12-03 11:32:46.000000000 +0100
> +++ linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c       2005-12-03 11:33:07.000000000 +0100
> @@ -23,10 +23,12 @@
>  #include <linux/buffer_head.h>
>  #include <linux/bitops.h>
>
> +#if 0
>  int qnx4_new_block(struct super_block *sb)
>  {
>         return 0;
>  }
> +#endif  /*  0  */
>
>  static void count_bits(register const char *bmPart, register int size,
>                        int *const tf)
>

Adrian,
You submit a lot of nice patches, but your "#if 0" patches have always
puzzled me. Why is it that you prefer to use #if 0 to remove code
rather than simply delete it?

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block()
  2005-12-03 12:28 ` Jesper Juhl
@ 2005-12-03 12:46   ` Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2005-12-03 12:46 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: al, linux-kernel

On Sat, Dec 03, 2005 at 01:28:31PM +0100, Jesper Juhl wrote:
> On 12/3/05, Adrian Bunk <bunk@stusta.de> wrote:
> > qnx4_new_block() is neither implemented nor used.
> >
> >
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> >
> > --- linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c.old   2005-12-03 11:32:46.000000000 +0100
> > +++ linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c       2005-12-03 11:33:07.000000000 +0100
> > @@ -23,10 +23,12 @@
> >  #include <linux/buffer_head.h>
> >  #include <linux/bitops.h>
> >
> > +#if 0
> >  int qnx4_new_block(struct super_block *sb)
> >  {
> >         return 0;
> >  }
> > +#endif  /*  0  */
> >
> >  static void count_bits(register const char *bmPart, register int size,
> >                        int *const tf)
> >
> 
> Adrian,
> You submit a lot of nice patches, but your "#if 0" patches have always
> puzzled me. Why is it that you prefer to use #if 0 to remove code
> rather than simply delete it?

I started with patches simply deleting the code, but since too often 
people complained "we might need this code at some time in the future", 
I've switched to using the #if 0's...

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block()
@ 2005-12-03 19:49 Anders Larsen
  0 siblings, 0 replies; 4+ messages in thread
From: Anders Larsen @ 2005-12-03 19:49 UTC (permalink / raw)
  To: trivial; +Cc: Adrian Bunk, linux-kernel

From: Adrian Bunk <bunk@stusta.de>

qnx4_new_block() is neither implemented nor used.


Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Anders Larsen <al@alarsen.net>

--- linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c.old	2005-12-03 11:32:46.000000000 +0100
+++ linux-2.6.15-rc3-mm1/fs/qnx4/bitmap.c	2005-12-03 11:33:07.000000000 +0100
@@ -23,10 +23,12 @@
 #include <linux/buffer_head.h>
 #include <linux/bitops.h>
 
+#if 0
 int qnx4_new_block(struct super_block *sb)
 {
 	return 0;
 }
+#endif  /*  0  */
 
 static void count_bits(register const char *bmPart, register int size,
 		       int *const tf)




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-03 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-03 12:19 [2.6 patch] fs/qnx4/bitmap.c: #if 0 qnx4_new_block() Adrian Bunk
2005-12-03 12:28 ` Jesper Juhl
2005-12-03 12:46   ` Adrian Bunk
2005-12-03 19:49 Anders Larsen

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®