Re: [2.5 patch] remove an unused variable from xirc2ps_cs.c

Rusty Russell (rusty@rustcorp.com.au)
Fri, 20 Jun 2003 14:36:01 +1000


In message <20030620001049.GI29247@fs.tum.de> you write:
> The platch below removes an unused variable from
> drivers/net/pcmcia/xirc2ps_cs.c .

Please add __attribute_used__ instead, since the author presumably
wants the string left in.

Cheers,
Rusty.

> --- linux-2.5.72-mm2/drivers/net/pcmcia/xirc2ps_cs.c.old 2003-06-20 02:07:40.000000000 +0200
> +++ linux-2.5.72-mm2/drivers/net/pcmcia/xirc2ps_cs.c 2003-06-20 02:07:55.000000000 +0200
> @@ -225,9 +225,7 @@
> #else
> #define DEBUG(n, args...)
> #endif
> -static char *version =
> -"xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh)";
> - /* !--- CVS revision */
> +
> #define KDBG_XIRC KERN_DEBUG "xirc2ps_cs: "
> #define KERR_XIRC KERN_ERR "xirc2ps_cs: "
> #define KWRN_XIRC KERN_WARNING "xirc2ps_cs: "

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/