wd: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Thu, 15 Jul 2010 00:53:18 +0000 (17:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jul 2010 00:53:18 +0000 (17:53 -0700)
commitbdb0f8672ff6f601a32df5af40f11526b741985c
tree786003e01be89a0ca82c236c7d7284c8eb8b32f1
parent8aa06af4d09b7ca1ca6126b1b8ddec4a9e67fb3a
wd: fix memory leak

Unmap mapped IO in wd_probe1() if register_netdev() failed.

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