]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove BUG_ON from FCoE setup
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 21 Oct 2015 23:47:05 +0000 (19:47 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Nov 2015 18:05:55 +0000 (10:05 -0800)
commit485f162d60b6f6757075da072e696e691647c22b
treebbc832f76259cd132b73e5c85d467ece5329d783
parentdfd600eb513df575a4b48b18c380f514eb6189d8
i40e: remove BUG_ON from FCoE setup

There's no need to kill the kernel thread here. If this condition was
true, the probe() would have died long before we got here. In any case,
we'll get the same result when this code tries to use the VSI pointer
being checked.

Prompted by a recent Linus diatribe.

Change-ID: I62f531cac34d4fc28ff9657d5b2d9523ae5e33a4
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_fcoe.c