]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: remove interface checks in mvpp2_phylink_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 27 Oct 2021 09:49:19 +0000 (10:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 11:55:44 +0000 (12:55 +0100)
commit0b102b002e42813961e176159a9da1be8e17ba79
tree2608e8c882173ce6dd27cd12c36cf3ecd6a520b5
parent6c7d1bffefd6a96474602c3f8a23245615ba0abf
net: mvpp2: remove interface checks in mvpp2_phylink_validate()

As phylink checks the interface mode against the supported_interfaces
bitmap, we no longer need to validate the interface mode in the
validation function. Remove this to simplify it.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c