* [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines
@ 2007-05-19 23:41 Richard Knutsson
2007-05-20 10:24 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Richard Knutsson @ 2007-05-19 23:41 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel, Richard Knutsson
Remove defines of TRUE and FALSE
* not used in the file
* the file is not included somewhere else
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Not compile-tested (don't have an Amiga-crosscompiler), but it is trivial.
Diffed against Linus' git-tree.
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c
index 7cc2685..2abf94c 100644
--- a/drivers/block/z2ram.c
+++ b/drivers/block/z2ram.c
@@ -44,9 +44,6 @@
extern int m68k_realnum_memory;
extern struct mem_info m68k_memory[NUM_MEMINFO];
-#define TRUE (1)
-#define FALSE (0)
-
#define Z2MINOR_COMBINED (0)
#define Z2MINOR_Z2ONLY (1)
#define Z2MINOR_CHIPONLY (2)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines
2007-05-19 23:41 [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines Richard Knutsson
@ 2007-05-20 10:24 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2007-05-20 10:24 UTC (permalink / raw)
To: Richard Knutsson; +Cc: axboe, linux-kernel
On Sun, 20 May 2007, Richard Knutsson wrote:
> Remove defines of TRUE and FALSE
> * not used in the file
> * the file is not included somewhere else
>
> Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> Not compile-tested (don't have an Amiga-crosscompiler), but it is trivial.
> Diffed against Linus' git-tree.
>
>
> diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c
> index 7cc2685..2abf94c 100644
> --- a/drivers/block/z2ram.c
> +++ b/drivers/block/z2ram.c
> @@ -44,9 +44,6 @@
> extern int m68k_realnum_memory;
> extern struct mem_info m68k_memory[NUM_MEMINFO];
>
> -#define TRUE (1)
> -#define FALSE (0)
> -
> #define Z2MINOR_COMBINED (0)
> #define Z2MINOR_Z2ONLY (1)
> #define Z2MINOR_CHIPONLY (2)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-20 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-19 23:41 [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines Richard Knutsson
2007-05-20 10:24 ` Geert Uytterhoeven
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®