You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NETDRVR] lib82596, netxen: delete pointless tests from irq handler
Remove always-false tests in irq handler. Also a few other minor cleanups. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
@@ -1124,12 +1124,6 @@ static irqreturn_t i596_interrupt(int irq, void *dev_id)
|
||||
struct i596_dma *dma;
|
||||
unsigned short status, ack_cmd = 0;
|
||||
|
||||
if (dev == NULL) {
|
||||
printk(KERN_WARNING "%s: irq %d for unknown device.\n",
|
||||
__FUNCTION__, irq);
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
lp = netdev_priv(dev);
|
||||
dma = lp->dma;
|
||||
|
||||
@@ -1140,7 +1134,7 @@ static irqreturn_t i596_interrupt(int irq, void *dev_id)
|
||||
|
||||
DEB(DEB_INTS, printk(KERN_DEBUG
|
||||
"%s: i596 interrupt, IRQ %d, status %4.4x.\n",
|
||||
dev->name, irq, status));
|
||||
dev->name, dev->irq, status));
|
||||
|
||||
ack_cmd = status & 0xf000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user