fm10k: no need to continue in fm10k_down if __FM10K_DOWN already set
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 3 Jun 2016 22:42:11 +0000 (15:42 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 20 Jul 2016 22:22:09 +0000 (15:22 -0700)
commit1b00c6c064302354fce71d7c363945fe9e967f7c
tree56571afe8cb5ebc0568f402cb651d8c1d20653d6
parentc0d661ca3701f38d9313ca3954e3741ad92e3aaa
fm10k: no need to continue in fm10k_down if __FM10K_DOWN already set

Return early from fm10k_down() when we are already down, since that
means another thread is either already finished or has started going
down, so shouldn't conflict with them.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c