]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: remove interface checks
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 25 Feb 2022 11:56:07 +0000 (11:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2022 12:47:19 +0000 (12:47 +0000)
commitc46ec219b5c88f0ebaa786b63defb38fac14e6fa
treecee1352fb2883f6d52a4be7eec4bfa2edf5a7ece
parentb88562dcfdc4e62d8e8e64ad47da5beb95bba695
net: dsa: sja1105: remove interface checks

When the supported interfaces bitmap is populated, phylink will itself
check that the interface mode is present in this bitmap. Drivers no
longer need to perform this check themselves. Remove these checks.

Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c