linux-stable/drivers/net/ethernet/qlogic
Colin Ian King a6c15d7ff2 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 <colin.i.king@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240206115049.1879389-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-02-08 19:06:27 -08:00
..
netxen netxen_nic: remove redundant assignment to variable capability 2024-02-08 19:06:27 -08:00
qed qed: remove duplicated assignment to variable opaque_fid 2024-02-08 19:05:01 -08:00
qede ethtool: add suffix _u32 to legacy bitmap members of struct ethtool_keee 2024-01-31 12:30:47 +00:00
qlcnic qlcnic: replace deprecated strncpy with strscpy 2023-12-10 19:08:58 +00:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues 2024-01-03 16:50:08 -08:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00