qlcnic: fix netdev notifier in error path
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 13 Jul 2010 20:33:33 +0000 (20:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jul 2010 20:54:16 +0000 (13:54 -0700)
commit0cf3a14cb2b888a7efa055ff7354e97c59fd48fa
treee49edcb7872cdf2f03082056d9d437c2f74c0c77
parent0df170b6078c58d1d2118a5f657fe366ecdc1262
qlcnic: fix netdev notifier in error path

netdev notifier are not unregistered if pci_register_driver fails.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c