summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-08-14 09:45:03 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-16 04:04:36 +0200
commit7a456b894ea57cceee6951ce421205152f23a051 (patch)
treec2e436bdd039b9e5edae5035932289df170a3187 /drivers/net/ethernet/intel
parentnet: phy: mediatek-ge-soc: support PHY LEDs (diff)
downloadlinux-7a456b894ea57cceee6951ce421205152f23a051.tar.xz
linux-7a456b894ea57cceee6951ce421205152f23a051.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions