net: 3c59x: fix leak of iomaps
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 23 Jul 2010 06:44:44 +0000 (06:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 20:05:12 +0000 (13:05 -0700)
commitf89f5d0e94e001e0a09bd433c0c0f089eaf0dea9
treeab6efd9e1c844c68e48b0cc40f972877874fa9f3
parent451e07a26483f3234f1df6b1f60b949dab4e7719
net: 3c59x: fix leak of iomaps

If vortex_probe1() fails we should unmap ioaddr mapped earlier.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/3c59x.c