Skip to content

Commit

Permalink
[PATCH] lne390 bogus casts
Browse files Browse the repository at this point in the history
	We already have the iomem pointer we need...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
viro@ZenIV.linux.org.uk authored and Jeff Garzik committed Sep 14, 2005
1 parent 7665a08 commit 387d890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/lne390.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ static int __init lne390_probe1(struct net_device *dev, int ioaddr)
return 0;
unmap:
if (ei_status.reg0)
iounmap((void *)dev->mem_start);
iounmap(ei_status.mem);
cleanup:
free_irq(dev->irq, dev);
return ret;
Expand Down

0 comments on commit 387d890

Please sign in to comment.