]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc2b8e1e3d81e701af2aa88e7fda7b730ed001db3
treecee1352fb2883f6d52a4be7eec4bfa2edf5a7ece
parenta420b757acc46d02bdaf4e0bcbeb0660c9df9209
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