Searched hist:"1 c604f91b7735a8d55ba56c8580b4b9276d6d7ab" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | diff 1c604f91b7735a8d55ba56c8580b4b9276d6d7ab Mon Apr 18 09:37:59 CDT 2022 Colin Ian King <colin.i.king@gmail.com> 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>
|