]> 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)
commit465513814a255db37763d1221b2d14cdb2679213
tree2608e8c882173ce6dd27cd12c36cf3ecd6a520b5
parentcfcc9eab385eb8241b15a4b148f7f1977926b69f
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