Re: [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines

From: Geert Uytterhoeven
Date: Sun May 20 2007 - 06:24:23 EST


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

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

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

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/