]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitc99abb4cb8227bf8172c085213c91bf155c6618a
tree63676795edddd31e0dba84f6298f7bdbd5743d68
parentde03d2b0ef6520cf9da2e429cd7afb534782b737
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