lkml.org 
[lkml]   [2007]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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 <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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-05-20 12:27    [W:0.057 / U:62.460 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site