lkml.org 
[lkml]   [2004]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.6.10-rc3-mm1: fix net/tulip/xircom_tulip_cb.c warning
On Mon, Dec 13, 2004 at 02:03:19AM -0800, Andrew Morton wrote:
>...
> All 794 patches:
>...
> xircom_tulip_cb-build-fix.patch
> xircom_tulip_cb.c build fix
>...

This patch causes the following warning:

<-- snip -->

...
CC drivers/net/tulip/xircom_tulip_cb.o
drivers/net/tulip/xircom_tulip_cb.c:134: warning: 'num_units' defined but not used
...

<-- snip -->


The fis is simple:


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc3-mm1-full/drivers/net/tulip/xircom_tulip_cb.c.old 2004-12-14 04:37:43.000000000 +0100
+++ linux-2.6.10-rc3-mm1-full/drivers/net/tulip/xircom_tulip_cb.c 2004-12-14 04:37:48.000000000 +0100
@@ -131,7 +131,6 @@
module_param(rx_copybreak, int, 0);
module_param(csr0, int, 0);

-static int num_units;
module_param_array(options, int, NULL, 0);
module_param_array(full_duplex, int, NULL, 0);


-
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: 2005-03-22 14:08    [W:0.220 / U:2.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site