summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-23 22:36:43 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-10-24 01:28:40 (GMT)
commite0f13920d6a082d85e21a1b4c02907446198fc36 (patch)
tree508bd2d5c29030bf4d2ccaf62353469e39b3e2e2 /drivers
parent0e6f7329d594174f177e5990d24e141954101a1c (diff)
downloadlinux-fsl-qoriq-e0f13920d6a082d85e21a1b4c02907446198fc36.tar.xz
ni5010: kill unused variable
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ni5010.c2
1 files changed, 0 insertions, 2 deletions
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)