diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-04-18 16:37:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-22 11:23:24 +0200 |
commit | 1c604f91b7735a8d55ba56c8580b4b9276d6d7ab (patch) | |
tree | 1549e14db4ef874dfcec54c5475396139344bb06 /scripts/ksymoops | |
parent | net: cdc-ncm: Move spin_lock_bh() to spin_lock() (diff) | |
download | linux-1c604f91b7735a8d55ba56c8580b4b9276d6d7ab.tar.xz linux-1c604f91b7735a8d55ba56c8580b4b9276d6d7ab.zip |
myri10ge: remove redundant assignment to variable status
Variable status is being assigned a value that is never read, it is
being re-assigned again later on. The assignment is redundant and can
be removed.
Cleans up clang scan build warning:
drivers/net/ethernet/myricom/myri10ge/myri10ge.c:582:7: warning: Although
the value stored to 'status' is used in the enclosing expression, the
value is never actually read from 'status' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions