e1000e: remove the redundant value assignment in e1000_update_nvm_checksum_spt
authorKaixu Xia <kaixuxia@tencent.com>
Sat, 21 Nov 2020 10:17:27 +0000 (18:17 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 4 Feb 2021 00:32:18 +0000 (16:32 -0800)
commit99eb3943ab9b90c49f27c2bfeea87e2bb4da5f3b
tree31cce5fc253132076373765d3fede7b526f35975
parent2f7c1fd23d9faad5bcf8cdfe04c1632352bc0136
e1000e: remove the redundant value assignment in e1000_update_nvm_checksum_spt

Both of the statements are value assignment of the variable act_offset.
The first value assignment is overwritten by the second and is useless.
Remove it.

Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c