]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Make i40e_shutdown_adminq() return void
authorJason Yan <yanaijie@huawei.com>
Wed, 6 May 2020 06:18:35 +0000 (14:18 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 03:19:47 +0000 (20:19 -0700)
commitf0232a60c9e59d8a149346bc0ec77fc3839170ce
tree53cb99c30fbd40b29790bcea03f8d235d78d4732
parentddd9cb5c9864da8d79804d81912012c5e973f102
i40e: Make i40e_shutdown_adminq() return void

Fix the following coccicheck warning:

drivers/net/ethernet/intel/i40e/i40e_adminq.c:699:13-21: Unneeded
variable: "ret_code". Return "0" on line 710

Signed-off-by: Jason Yan <yanaijie@huawei.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_adminq.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h