Commit 387d890d authored by viro@ZenIV.linux.org.uk's avatar viro@ZenIV.linux.org.uk Committed by Jeff Garzik

[PATCH] lne390 bogus casts

	We already have the iomem pointer we need...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 7665a089
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment