[patch] 2.6.10-rc3-mm1: fix net/tulip/xircom_tulip_cb.c warning

From: Adrian Bunk
Date: Mon Dec 13 2004 - 23:19:46 EST


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@xxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/