net: txgbe: remove unused buffer in txgbe_calc_eeprom_checksum
authorZhengchao Shao <shaozhengchao@huawei.com>
Tue, 20 Jun 2023 06:25:19 +0000 (14:25 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jun 2023 02:45:57 +0000 (19:45 -0700)
commit2a441a3dbe84be61be502142a2fb8ea633fcc528
treee8c4b8da347f669d1e311e1f4d30b02d1cfa81b5
parent018c00dd4e88d78b0e97d4bcc413dd727497128f
net: txgbe: remove unused buffer in txgbe_calc_eeprom_checksum

Half a year passed since commit 049fe5365324c ("net: txgbe: Add operations
to interact with firmware") was submitted, the buffer in
txgbe_calc_eeprom_checksum was not used. So remove it and the related
branch codes.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306200242.FXsHokaJ-lkp@intel.com/
Reviewed-by: Jiawen Wu <jiawenwu@trustnetic.com>
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230620062519.1575298-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c