Skip to content

Commit

Permalink
[PATCH] iomem annotations (ac3200.c)
Browse files Browse the repository at this point in the history
no need to mess with (wrong) casts for ->mem_start, when we have the
original iomem pointer used to set ->mem_start in the first place...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
viro@ftp.linux.org.uk authored and Jeff Garzik committed Sep 7, 2005
1 parent 8e84c80 commit 5ac9003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ac3200.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev)
return 0;
out2:
if (ei_status.reg0)
iounmap((void *)dev->mem_start);
iounmap(ei_status.mem);
out1:
free_irq(dev->irq, dev);
out:
Expand Down

0 comments on commit 5ac9003

Please sign in to comment.