net/ixgbe/base: cleanup X540 checksum calculation
authorWei Dai <wei.dai@intel.com>
Wed, 21 Dec 2016 09:47:52 +0000 (17:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:51 +0000 (19:40 +0100)
commit06d85f7c7aba5fc21edb76a8f8e835bb1fec15da
tree293a1f2187aaa26e42f2258c8bd153fb6dae6126
parent72f3bd5801de3af67cd99c5d682607d9e95a4cca
net/ixgbe/base: cleanup X540 checksum calculation

The variable checksum_last_word is used only for bounds check.
So remove this variable and use IXGBE_EEPROM_CHECKSUM directly.

Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_x540.c