]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Remove timer and task only if created
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 10 Mar 2016 22:59:45 +0000 (14:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Apr 2016 19:26:09 +0000 (12:26 -0700)
commit0618844e6e4496a04636573705580b7a2f5d70ba
tree63676795edddd31e0dba84f6298f7bdbd5743d68
parenteba5e7327897ee6b127a44f8f97fa54a2623eece
i40e: Remove timer and task only if created

In some error scenarios, we may find ourselves trying to remove a
non-existent timer or worktask.  This causes the kernel some bit
of consternation, so don't do it.

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_main.c