[netdrvr] smc91x: fix resource removal (null ptr deref)
authorJeff Garzik <jeff@garzik.org>
Wed, 27 Aug 2008 09:54:30 +0000 (05:54 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 27 Aug 2008 09:54:30 +0000 (05:54 -0400)
commit6fc30db563c57e383ca2ec836d8c9208c52d265a
tree9d96ba795407fe8dd4b40ad37104ff115e2b3b50
parent45e15bb734e4e559ab32f26196e44d5cf1417f10
[netdrvr] smc91x: fix resource removal (null ptr deref)

Properly handle resource cleanup on unplug/exit.

Spotted by Jonathan Cameron

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/smc91x.c