提交 e0f13920 编写于 作者: J Jeff Garzik

ni5010: kill unused variable

Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 0e6f7329
...@@ -518,7 +518,6 @@ static void dump_packet(void *buf, int len) ...@@ -518,7 +518,6 @@ static void dump_packet(void *buf, int len)
/* We have a good packet, get it out of the buffer. */ /* We have a good packet, get it out of the buffer. */
static void ni5010_rx(struct net_device *dev) static void ni5010_rx(struct net_device *dev)
{ {
struct ni5010_local *lp = netdev_priv(dev);
int ioaddr = dev->base_addr; int ioaddr = dev->base_addr;
unsigned char rcv_stat; unsigned char rcv_stat;
struct sk_buff *skb; struct sk_buff *skb;
...@@ -577,7 +576,6 @@ static void ni5010_rx(struct net_device *dev) ...@@ -577,7 +576,6 @@ static void ni5010_rx(struct net_device *dev)
PRINTK2((KERN_DEBUG "%s: Received packet, size=%#4.4x\n", PRINTK2((KERN_DEBUG "%s: Received packet, size=%#4.4x\n",
dev->name, i_pkt_size)); dev->name, i_pkt_size));
} }
static int process_xmt_interrupt(struct net_device *dev) static int process_xmt_interrupt(struct net_device *dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册