]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: remove an unneeded variable
authorJason Wang <wangborong@cdjrlc.com>
Sun, 12 Dec 2021 08:10:01 +0000 (16:10 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 7 Jan 2022 17:04:21 +0000 (09:04 -0800)
commite338a2e96dda96b6869560a878994bbb02ed1d1e
tree640feb5273585945fd076a02f9f1739c92c7a1c5
parenta9145e785b0634fe53b7b7ddc062659affed688f
iavf: remove an unneeded variable

The variable `ret_code' used for returning is never changed in function
`iavf_shutdown_adminq'. So that it can be removed and just return its
initial value 0 at the end of `iavf_shutdown_adminq' function.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_adminq.c