Re: [PATCH net-next 0/3] Remove getting SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS

From: Jiri Pirko
Date: Tue Feb 12 2019 - 04:05:18 EST


Mon, Feb 11, 2019 at 10:17:46PM CET, f.fainelli@xxxxxxxxx wrote:
>Hi all,
>
>AFAICT there is no code that attempts to get the value of the attribute
>SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS while it is used with
>switchdev_port_attr_set().
>
>This is effectively no doing anything and it can slow down future work
>that tries to make modifications in these areas so remove that.
>
>David, there should be no dependency with previous patch series, but
>again, feedback from Ido and Jiri would be welcome in case this was
>added for a reason.

It was originally used by:
switchdev_port_bridge_getlink()
removed by:
commit 29ab586c3d83f81c435e269cace9a1619afb5bbd
Author: Arkadi Sharshevsky <arkadis@xxxxxxxxxxxx>
Date: Sun Aug 6 16:15:51 2017 +0300

net: switchdev: Remove bridge bypass support from switchdev

So these are just leftovers. Let's flush them.