aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-04-25 18:35:18 +0800
committerDavid S. Miller <[email protected]>2021-04-26 12:46:10 -0700
commit930d2d619d0a341693af4a7db9b37b96434ac65e (patch)
treee9bed78e5dfae277c7204f665c69a9c49a061f7a /scripts/gdb/linux/timerlist.py
parenteb43c081a6df85e3119226b932ddb9a9572b26e4 (diff)
pcnet32: Remove redundant variable prev_link and curr_link
Variable prev_link and curr_link is being assigned a value from a calculation however the variable is never read, so this redundant variable can be removed. Cleans up the following clang-analyzer warning: drivers/net/ethernet/amd/pcnet32.c:2857:4: warning: Value stored to 'prev_link' is never read [clang-analyzer-deadcode.DeadStores]. drivers/net/ethernet/amd/pcnet32.c:2856:4: warning: Value stored to 'curr_link' is never read [clang-analyzer-deadcode.DeadStores]. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions