diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-03-07 16:19:36 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-03-09 09:51:31 +0100 |
commit | c9f9e3a3289f2f068db45ea1219aa5b295762f44 (patch) | |
tree | bfb56d26d25849818c35c2115eedb5538afd3e22 /fs/sysv/file.c | |
parent | 7910898e1b2ae8ba0646434294931bf69cc0fdb5 (diff) |
net: mtk_eth_soc: remove unnecessary checks in mtk_mac_config()
mtk_mac_config() checks that the interface mode is permitted for the
capabilities, but we already do these checks in mtk_add_mac() when
initialising phylink's supported_interfaces bitmap. Remove the
unnecessary tests.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'fs/sysv/file.c')
0 files changed, 0 insertions, 0 deletions