diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-24 01:57:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-24 01:57:22 (GMT) |
commit | d8581969904b8a72db726c4b9090234c0f0bb18f (patch) | |
tree | 784f83eaf9cd302729f67a18dc32f5bf6cb03a77 /drivers/net | |
parent | 5a0e554b62dc77709ceebb6326b292bdd8d2c342 (diff) | |
parent | e0f13920d6a082d85e21a1b4c02907446198fc36 (diff) | |
download | linux-d8581969904b8a72db726c4b9090234c0f0bb18f.tar.xz |
Merge branch 'warnings' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'warnings' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
ni5010: kill unused variable
eexpress: fix !SMP unused-var warning
cgroup: kill unused variable
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/eexpress.c | 2 | ||||
-rw-r--r-- | drivers/net/ni5010.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 9c85e50..70509ed 100644 --- a/drivers/net/eexpress.c +++ b/drivers/net/eexpress.c @@ -651,9 +651,9 @@ static void eexp_timeout(struct net_device *dev) */ static int eexp_xmit(struct sk_buff *buf, struct net_device *dev) { - struct net_local *lp = netdev_priv(dev); short length = buf->len; #ifdef CONFIG_SMP + struct net_local *lp = netdev_priv(dev); unsigned long flags; #endif diff --git a/drivers/net/ni5010.c b/drivers/net/ni5010.c index 14a768f..a20005c 100644 --- a/drivers/net/ni5010.c +++ b/drivers/net/ni5010.c @@ -518,7 +518,6 @@ static void dump_packet(void *buf, int len) /* We have a good packet, get it out of the buffer. */ static void ni5010_rx(struct net_device *dev) { - struct ni5010_local *lp = netdev_priv(dev); int ioaddr = dev->base_addr; unsigned char rcv_stat; struct sk_buff *skb; @@ -577,7 +576,6 @@ static void ni5010_rx(struct net_device *dev) PRINTK2((KERN_DEBUG "%s: Received packet, size=%#4.4x\n", dev->name, i_pkt_size)); - } static int process_xmt_interrupt(struct net_device *dev) |