aboutsummaryrefslogtreecommitdiffstats
path: root/lib/iov_iter.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-14 17:01:25 +0100
committerDavid S. Miller <davem@davemloft.net>2017-09-14 10:00:29 -0700
commit23f4822207e04c5f78924fe0e5193c14ba720b4c (patch)
treee9647e6956452d8ac3054b6e6d788a2acca4c5a6 /lib/iov_iter.c
parenttls: make tls_sw_free_resources static (diff)
downloadlinux-dev-23f4822207e04c5f78924fe0e5193c14ba720b4c.tar.xz
linux-dev-23f4822207e04c5f78924fe0e5193c14ba720b4c.zip
tg3: clean up redundant initialization of tnapi
tnapi is being initialized and then immediately updated and hence the initialiation is redundant. Clean up the warning by moving the declaration and initialization to the inside of the for-loop. Cleans up clang scan-build warning: warning: Value stored to 'tnapi' 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 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions