]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: remove unnecessary error checking against i40e_shutdown_adminq
authorLihong Yang <lihong.yang@intel.com>
Wed, 7 Sep 2016 01:05:05 +0000 (18:05 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 05:33:41 +0000 (22:33 -0700)
commit2b3926ba2065503bc5ffb6bd64a6c7a9e5a1e778
treeda226bd117ede7a6947703d08b4f01f587beba19
parent6c0ea44ce9f7b0f47d2d7b2de0f4d065db71c444
i40evf: remove unnecessary error checking against i40e_shutdown_adminq

The i40e_shutdown_adminq function never returns failure. There is no need to
check the non-0 return value. Clean up the unnecessary error checking and
warning against it.

Change-ID: Ibb616f09cfb93bd1a872ebf3241a15fb8354b31b
Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c