]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove variables set but not used
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 13 Dec 2021 03:11:07 +0000 (11:11 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 7 Jan 2022 17:04:21 +0000 (09:04 -0800)
commita9145e785b0634fe53b7b7ddc062659affed688f
tree5f757710a2c448e3ac2a1a7b3618ee53eb39db92
parent5ab3ced9da269ea9fe63846d6c091b70d62af075
i40e: remove variables set but not used

The code that uses variables pe_cntx_size and pe_filt_size
has been removed, so they should be removed as well.

Eliminate the following clang warnings:
drivers/net/ethernet/intel/i40e/i40e_common.c:4139:20:
warning: variable 'pe_filt_size' set but not used.
drivers/net/ethernet/intel/i40e/i40e_common.c:4139:6:
warning: variable 'pe_cntx_size' set but not used.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c