]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvneta: remove interface checks in mvneta_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 27 Oct 2021 09:03:48 +0000 (10:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2021 13:50:11 +0000 (14:50 +0100)
commitd9ca72807ecb236f679b960c70ef5b7d4a5f0222
tree7799df7d0421262661e3c7a0c95b76d40fba2491
parentfdedb695e6a8657302341cda81d519ef04f9acaa
net: mvneta: remove interface checks in mvneta_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/mvneta.c