2007-05-19 23:41:19

by Richard Knutsson

[permalink] [raw]
Subject: [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines

Remove defines of TRUE and FALSE
* not used in the file
* the file is not included somewhere else

Signed-off-by: Richard Knutsson <[email protected]>
---
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)


2007-05-20 10:24:21

by Geert Uytterhoeven

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

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 <[email protected]>

Acked-by: Geert Uytterhoeven <[email protected]>

> ---
> 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 -- [email protected]

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