]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phylink: Drop unused defines for SUPPORTED/ADVERTISED_INTERFACES
authorAlexander Duyck <alexanderduyck@fb.com>
Sun, 27 Apr 2025 19:59:49 +0000 (12:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Apr 2025 18:26:34 +0000 (11:26 -0700)
commit2b06aa2bcfb4eee0c5dc882ff8936913b1e6d44f
treed2899a4cbc70c416037d5a42f53eee0d7de12783
parent090ef84e082dca099b4d54196e2099bce41e0c87
net: phylink: Drop unused defines for SUPPORTED/ADVERTISED_INTERFACES

The defines for SUPPORTED_INTERFACES and ADVERTISED_INTERFACES both appear
to be unused. I couldn't find anything that actually references them in the
original diff that added them and it seems like they have persisted despite
using deprecated defines that aren't supposed to be used as per the
ethtool.h header that defines the bits they are composed of.

Since they are unused, and not supposed to be used anymore I am just
dropping the lines of code since they seem to just be occupying space.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/174578398922.1580647.9720643128205980455.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c