diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-11 03:56:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 03:56:12 -0400 |
commit | 24fcbacedb0d83cabc6761acbecfbf751265ce52 (patch) | |
tree | 7147b206304b028c3cfd5de6317e5c8510098ca9 /drivers/net/3c527.c | |
parent | 2f614fe04f4463ff22234133319067d7361f54e5 (diff) | |
parent | 53a5fbdc2dff55161a206ed1a1385a8fa8055c34 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/net/3c527.c')
-rw-r--r-- | drivers/net/3c527.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/3c527.c b/drivers/net/3c527.c index 625e57dc3b4a..f4aca5386add 100644 --- a/drivers/net/3c527.c +++ b/drivers/net/3c527.c | |||
@@ -217,7 +217,7 @@ static int mc32_command(struct net_device *dev, u16 cmd, void *data, int le | |||
217 | static int mc32_open(struct net_device *dev); | 217 | static int mc32_open(struct net_device *dev); |
218 | static void mc32_timeout(struct net_device *dev); | 218 | static void mc32_timeout(struct net_device *dev); |
219 | static int mc32_send_packet(struct sk_buff *skb, struct net_device *dev); | 219 | static int mc32_send_packet(struct sk_buff *skb, struct net_device *dev); |
220 | static irqreturn_t mc32_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 220 | static irqreturn_t mc32_interrupt(int irq, void *dev_id); |
221 | static int mc32_close(struct net_device *dev); | 221 | static int mc32_close(struct net_device *dev); |
222 | static struct net_device_stats *mc32_get_stats(struct net_device *dev); | 222 | static struct net_device_stats *mc32_get_stats(struct net_device *dev); |
223 | static void mc32_set_multicast_list(struct net_device *dev); | 223 | static void mc32_set_multicast_list(struct net_device *dev); |
@@ -1316,7 +1316,7 @@ static void mc32_tx_ring(struct net_device *dev) | |||
1316 | * | 1316 | * |
1317 | */ | 1317 | */ |
1318 | 1318 | ||
1319 | static irqreturn_t mc32_interrupt(int irq, void *dev_id, struct pt_regs * regs) | 1319 | static irqreturn_t mc32_interrupt(int irq, void *dev_id) |
1320 | { | 1320 | { |
1321 | struct net_device *dev = dev_id; | 1321 | struct net_device *dev = dev_id; |
1322 | struct mc32_local *lp; | 1322 | struct mc32_local *lp; |
@@ -1324,11 +1324,6 @@ static irqreturn_t mc32_interrupt(int irq, void *dev_id, struct pt_regs * regs) | |||
1324 | int rx_event = 0; | 1324 | int rx_event = 0; |
1325 | int tx_event = 0; | 1325 | int tx_event = 0; |
1326 | 1326 | ||
1327 | if (dev == NULL) { | ||
1328 | printk(KERN_WARNING "%s: irq %d for unknown device.\n", cardname, irq); | ||
1329 | return IRQ_NONE; | ||
1330 | } | ||
1331 | |||
1332 | ioaddr = dev->base_addr; | 1327 | ioaddr = dev->base_addr; |
1333 | lp = netdev_priv(dev); | 1328 | lp = netdev_priv(dev); |
1334 | 1329 | ||