]> git.hungrycats.org Git - linux/commit
[PATCH] fix oops on unload in pcnet32
authorJeff Garzik <jgarzik@pobox.com>
Fri, 5 Dec 2003 15:34:00 +0000 (07:34 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 5 Dec 2003 15:34:00 +0000 (07:34 -0800)
commite627eccb7eeb28e39141bf8278b154f0ec6bdadb
treec3180ebc545f853fb2b2cb9370f0a1f9915a408c
parent67a0713cb21baf473279b337b91c0e66e1261685
[PATCH] fix oops on unload in pcnet32

The driver was calling pci_unregister_driver for each _device_, and then
again at the end of the module unload routine.  Remove the call that's
inside the loop, pci_unregister_driver should only be called once.

Caught by Don Fry (and many others)
drivers/net/pcnet32.c