diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-31 14:37:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 21:29:08 +0900 |
commit | a95157d72d638913422773ea6faa384ebe4d366d (patch) | |
tree | 7f3b1f62599fd816ce8eb6a740f9d5c9a4517fd2 /drivers/net/dsa/lan9303-core.c | |
parent | 855a34b1b4893c7d9fd39e3f61834354f2149ba7 (diff) | |
download | linux-a95157d72d638913422773ea6faa384ebe4d366d.tar.bz2 |
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 'drivers/net/dsa/lan9303-core.c')
0 files changed, 0 insertions, 0 deletions