net: amd8111e: remove redundant assignment to 'tx_index'
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Mar 2018 16:42:40 +0000 (16:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 23:17:27 +0000 (18:17 -0500)
commit1f09c03fe35f480ada315c22a0b10c72da2c88bf
tree781feb74e380f2f98e35916d4be5fb90658a0825
parent4b6c1cdc211dde390e62a892f7655c32d5d53649
net: amd8111e: remove redundant assignment to 'tx_index'

The variable tx_index is being initialized with a value that is never
read and re-assigned a little later, hence the initialization is redundant
and can be removed.

Cleans up clang warning:
drivers/net/ethernet/amd/amd8111e.c:652:6: warning: Value stored to
'tx_index' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/amd8111e.c