]> www.infradead.org Git - users/willy/linux.git/commit
sfc: siena: rip out rss-context dead code
authorEdward Cree <ecree.xilinx@gmail.com>
Wed, 4 Sep 2024 18:11:56 +0000 (19:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Sep 2024 01:22:17 +0000 (18:22 -0700)
commit32b81e4f0e5d8a50c2bd34e9d61dd52b5d82856f
tree263e3d8c544d58d57ce1e30e16703e73a5867be5
parent5953711258c7a50393706ab42bc6562f569f762b
sfc: siena: rip out rss-context dead code

Siena hardware does not support custom RSS contexts, but when the
 driver was forked from sfc.ko, some of the plumbing for them was
 copied across from the common code.  Actually trying to use them
 would lead to EOPNOTSUPP as the relevant efx_nic_type methods were
 not populated.
Remove this dead code from the Siena driver.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240904181156.1993666-1-edward.cree@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/siena/efx_common.c
drivers/net/ethernet/sfc/siena/ethtool.c
drivers/net/ethernet/sfc/siena/ethtool_common.c
drivers/net/ethernet/sfc/siena/net_driver.h
drivers/net/ethernet/sfc/siena/rx_common.c
drivers/net/ethernet/sfc/siena/rx_common.h