]> 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)
commit73d6dd9936b3a2ef536d920f3d965068cfaf7170
tree5f757710a2c448e3ac2a1a7b3618ee53eb39db92
parentbbbfd526dd6b3472256b8bbbf8b1da7db492b980
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