linux-stable/drivers/net/ethernet/qlogic
Arnd Bergmann 7a456b894e qed: remove unused 'resp_size' calculation
Newer versions of clang warn about this variable being assigned but
never used:

drivers/net/ethernet/qlogic/qed/qed_vf.c:63:67: error: parameter 'resp_size' set but not used [-Werror,-Wunused-but-set-parameter]

There is no indication in the git history on how this was ever
meant to be used, so just remove the entire calculation and argument
passing for it to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230814074512.1067715-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-08-15 19:04:36 -07:00
..
netxen net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
qed qed: remove unused 'resp_size' calculation 2023-08-15 19:04:36 -07:00
qede net: flow_dissector: Use 64bits for used_keys 2023-07-31 09:11:24 +01:00
qlcnic net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
qla3xxx.c net/qla3xxx: fix potential memleak in ql3xxx_send() 2022-11-18 19:39:05 -08:00
qla3xxx.h