diff options
Diffstat (limited to 'drivers/net/wireless/wavelan_cs.c')
-rw-r--r-- | drivers/net/wireless/wavelan_cs.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index 0065f057bb1c..aafb301041b1 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -4117,24 +4117,14 @@ wv_pcmcia_release(struct pcmcia_device *link) | |||
4117 | */ | 4117 | */ |
4118 | static irqreturn_t | 4118 | static irqreturn_t |
4119 | wavelan_interrupt(int irq, | 4119 | wavelan_interrupt(int irq, |
4120 | void * dev_id, | 4120 | void * dev_id) |
4121 | struct pt_regs * regs) | ||
4122 | { | 4121 | { |
4123 | struct net_device * dev; | 4122 | struct net_device * dev = dev_id; |
4124 | net_local * lp; | 4123 | net_local * lp; |
4125 | kio_addr_t base; | 4124 | kio_addr_t base; |
4126 | int status0; | 4125 | int status0; |
4127 | u_int tx_status; | 4126 | u_int tx_status; |
4128 | 4127 | ||
4129 | if ((dev = dev_id) == NULL) | ||
4130 | { | ||
4131 | #ifdef DEBUG_INTERRUPT_ERROR | ||
4132 | printk(KERN_WARNING "wavelan_interrupt(): irq %d for unknown device.\n", | ||
4133 | irq); | ||
4134 | #endif | ||
4135 | return IRQ_NONE; | ||
4136 | } | ||
4137 | |||
4138 | #ifdef DEBUG_INTERRUPT_TRACE | 4128 | #ifdef DEBUG_INTERRUPT_TRACE |
4139 | printk(KERN_DEBUG "%s: ->wavelan_interrupt()\n", dev->name); | 4129 | printk(KERN_DEBUG "%s: ->wavelan_interrupt()\n", dev->name); |
4140 | #endif | 4130 | #endif |