1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/qlogic/netxen
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
..
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic.h netxen_nic: Replace fake flex-array with flexible-array member 2023-03-08 00:16:58 -08:00
netxen_nic_ctx.c netxen_nic: switch from 'pci_' to 'dma_' API 2021-01-15 16:41:29 -08:00
netxen_nic_ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
netxen_nic_hdr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_init.c netxen_nic: remove redundant assignment to variable capability 2024-02-08 19:06:27 -08:00
netxen_nic_main.c arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00