aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-10-31 14:37:55 +0000
committerDavid S. Miller <[email protected]>2017-11-01 21:29:08 +0900
commita95157d72d638913422773ea6faa384ebe4d366d (patch)
tree7f3b1f62599fd816ce8eb6a740f9d5c9a4517fd2 /tools/perf/scripts/python/net_dropmonitor.py
parent855a34b1b4893c7d9fd39e3f61834354f2149ba7 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions