[PATCH] icn driver fails to unload when no hardware present
authorDave Jones <davej@redhat.com>
Mon, 8 Aug 2005 23:13:15 +0000 (16:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 8 Aug 2005 23:21:32 +0000 (16:21 -0700)
commit138b9dd1fd7b44176af4f3b672060c790b0eaf55
treeaba0bffcaaee3fd29c1e3142a4c10331b4858293
parent92e52b2e82bec10a70744d4a2b04e0ff2dfe2c98
[PATCH] icn driver fails to unload when no hardware present

Fix a null dereference in module unload path.

Found by a simple modprobe icn ; rmmod icn

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/icn/icn.c