]> err.no Git - linux-2.6/commit
chelsio: useless test in cxgb2::remove_one
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 5 Dec 2006 22:19:06 +0000 (23:19 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:43 +0000 (16:58 -0500)
commit47cbe6f47d854410d5c296098d87cf8151517c20
tree73a66c94aed475bcd30d0d8a2ca210aefea4e47f
parentd7487421b629c5ca71ce23b10461ef0c3ad2c741
chelsio: useless test in cxgb2::remove_one

pci_get_drvadata() is necessarily distinct from NULL if
cxgb2::init_one succeeded. cxgb2::remove_one is solely
issued through the PCI device callback.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/chelsio/cxgb2.c