qlcnic: Fix SR-IOV cleanup code path
authorManish Chopra <manish.chopra@qlogic.com>
Fri, 10 Jan 2014 16:48:57 +0000 (11:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jan 2014 23:31:19 +0000 (15:31 -0800)
commit6e1f586d31ad49063da391db12632b31c7b00d76
tree53a5e7249d1022674ce96f9f104dd840f33c1da5
parenta04315893db0dbdf490e2d284d3aef0f01762b54
qlcnic: Fix SR-IOV cleanup code path

o Add __QLCNIC_SRIOV_ENABLE bit check before doing SRIOV cleanup

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c