diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-21 03:58:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-22 01:55:14 +0300 |
commit | 010c8f01aa7fe18ea97d302e1c7e9ca83bc27433 (patch) | |
tree | fe54edf01ad8eaf850d9f6697bc7e219f4415236 /net/dsa/dsa.c | |
parent | cc0c207a5d18333fbfecc964a47ddb182fbcb720 (diff) | |
download | linux-010c8f01aa7fe18ea97d302e1c7e9ca83bc27433.tar.xz |
net: Get rid of switchdev_port_attr_get()
With the bridge no longer calling switchdev_port_attr_get() to obtain
the supported bridge port flags from a driver but instead trying to set
the bridge port flags directly and relying on driver to reject
unsupported configurations, we can effectively get rid of
switchdev_port_attr_get() entirely since this was the only place where
it was called.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions