Skip to content

Commit

Permalink
drivers/net: sgiseeq: fix return on error
Browse files Browse the repository at this point in the history
If we continue on error, we'd likely free the IRQ that we
didn't get, right?

Signed-off-by: Nicolas Kaiser <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
nikai3d authored and davem330 committed Oct 26, 2010
1 parent 7932c2e commit 06d6e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sgiseeq.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ static int sgiseeq_open(struct net_device *dev)

if (request_irq(irq, sgiseeq_interrupt, 0, sgiseeqstr, dev)) {
printk(KERN_ERR "Seeq8003: Can't get irq %d\n", dev->irq);
err = -EAGAIN;
return -EAGAIN;
}

err = init_seeq(dev, sp, sregs);
Expand Down

0 comments on commit 06d6e6d

Please sign in to comment.