]> err.no Git - linux-2.6/commitdiff
ni5010: kill unused variable
authorJeff Garzik <jeff@garzik.org>
Tue, 23 Oct 2007 22:36:43 +0000 (18:36 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 24 Oct 2007 01:28:40 +0000 (21:28 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ni5010.c

index 14a768fbce2e67a9940f72df10e2030fc2d06fb1..a20005c09e0707c22f26e4a22fe1b323b681a010 100644 (file)
@@ -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)