diff options
author | Colin Ian King <[email protected]> | 2024-02-06 11:50:49 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-08 19:06:27 -0800 |
commit | a6c15d7ff29c1986fcf2df5c1ecb96dec835826f (patch) | |
tree | c48964c774601963649e66787844412f317944ff /lib/test-string_helpers.c | |
parent | 0e0939c0adf90a3233392e2a9650290b1ad8068c (diff) |
netxen_nic: remove redundant assignment to variable capability
The variable capability is being assigned a value that is never
read and is being re-assigned later. The assignment is redundant and
can be removed. Also remove empty line before assignment to capability.
Cleans up clang scan build warning:
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1189:2: warning:
Value stored to 'capability' is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions