lkml.org 
[lkml]   [2002]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Linux-2.2.23 drivers/net/lance.c unused variable
Trivial patch to remove unused variable "int i" from
static int lance_close(struct device *dev) in
drivers/net/lance.c. I checked 2.5.50 and this variable is _not_
present. Kernel compiles and works fine with the following patch:

/** SNIP **/

--- /usr/src/linux/drivers/net/lance.c Sun Mar 25 16:37:34 2001
+++ /usr/src/linux/drivers/net/lance.c Sat Dec 7 13:14:18 2002
@@ -1174,7 +1174,6 @@
{
int ioaddr = dev->base_addr;
struct lance_private *lp = (struct lance_private *)dev->priv;
- int i;

dev->start = 0;
dev->tbusy = 1;
/** SNIP **/
Please apply the patch to the next version of the 2.2 Kernel.

-Thomas Cort <tcort@cort.ws>

-
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 13:31    [W:0.034 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site