]> git.ipfire.org Git - thirdparty/linux.git/commit
net: ethtool: remove the duplicated handling from ethtool_get_rxrings
authorBreno Leitao <leitao@debian.org>
Wed, 17 Sep 2025 09:58:10 +0000 (02:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Sep 2025 14:07:37 +0000 (07:07 -0700)
commit87c76c2db002e747269fc5d91461786ce57976d7
treee2406e532e1e3d48894a755903cab07eb1376939
parent06fad5a4aeb2622b7aeefd6ad60b6cf76c0b7c5b
net: ethtool: remove the duplicated handling from ethtool_get_rxrings

ethtool_get_rxrings() was a copy of ethtool_get_rxnfc(). Clean the code
that will never be executed for GRXRINGS specifically.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250917-gxrings-v4-3-dae520e2e1cb@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/ioctl.c