mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/block/z2ram: Remove TRUE/FALSE defines
Date: Sun, 20 May 2007 12:24:08 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0705201223490.20754@anakin> (raw)
In-Reply-To: <20070519234338.27317.98027.sendpatchset@thinktank.campus.ltu.se>

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

      reply	other threads:[~2007-05-20 10:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 23:41 Richard Knutsson
2007-05-20 10:24 ` Geert Uytterhoeven [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0705201223490.20754@anakin \
    --to=geert@linux-m68k.org \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricknu-0@student.ltu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®