From: viro@ZenIV.linux.org.uk Date: Fri, 9 Sep 2005 16:22:14 +0000 (+0100) Subject: [PATCH] lne390 bogus casts X-Git-Tag: v2.6.15-rc1~733^2~1^2~137 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad;p=linux-2.6 [PATCH] lne390 bogus casts We already have the iomem pointer we need... Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c index 27f0d8ac4c..309d254842 100644 --- a/drivers/net/lne390.c +++ b/drivers/net/lne390.c @@ -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;