summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorColin Ian King2018-03-01 17:42:40 +0100
committerDavid S. Miller2018-03-05 00:17:27 +0100
commit129fbeecbccdeaa4f89aaea5d1698aae44ae4b4b (patch)
tree781feb74e380f2f98e35916d4be5fb90658a0825 /scripts/Makefile.lib
parentr8169: switch to device-managed functions in probe (part 2) (diff)
downloadkernel-qcow2-linux-129fbeecbccdeaa4f89aaea5d1698aae44ae4b4b.tar.gz
kernel-qcow2-linux-129fbeecbccdeaa4f89aaea5d1698aae44ae4b4b.tar.xz
kernel-qcow2-linux-129fbeecbccdeaa4f89aaea5d1698aae44ae4b4b.zip
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>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions