aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-31 14:37:55 +0000
committerDavid S. Miller <davem@davemloft.net>2017-11-01 21:29:08 +0900
commita95157d72d638913422773ea6faa384ebe4d366d (patch)
tree7f3b1f62599fd816ce8eb6a740f9d5c9a4517fd2 /net
parentMAINTAINERS: Add lib/net_utils.c to NETWORKING (general) (diff)
downloadlinux-dev-a95157d72d638913422773ea6faa384ebe4d366d.tar.xz
linux-dev-a95157d72d638913422773ea6faa384ebe4d366d.zip
net: thunderx: remove a couple of redundant assignments
The assignment to pointer msg is redundant as it is never read, so remove msg. Also remove the first assignment to qset as this is not read before the next re-assignment of a new value to qset in the for-loop. Cleans up two clang warnings: drivers/net/ethernet/cavium/thunder/nic_main.c:589:2: warning: Value stored to 'msg' is never read drivers/net/ethernet/cavium/thunder/nic_main.c:611:2: warning: Value stored to 'qset' 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 'net')
0 files changed, 0 insertions, 0 deletions