]> 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)
commit51a79b71f296e3e163f12fe77dcc1eefe35a73f4
treecee1352fb2883f6d52a4be7eec4bfa2edf5a7ece
parent914598d969c182081ad4dc5b27b7ec3d36341285
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