On Sun, Feb 14, 2021 at 17:53, Vladimir Oltean <[email protected]> wrote:
> From: Vladimir Oltean <[email protected]>
>
> The dsa_port_offloads_netdev check is inside dsa_slave_vlan_{add,del},
> but outside dsa_port_mdb_{add,del}. We can reduce the number of
> occurrences of dsa_port_offloads_netdev by checking only once, at the
> beginning of dsa_slave_port_obj_add and dsa_slave_port_obj_del.
>
> Signed-off-by: Vladimir Oltean <[email protected]>
> ---

Reviewed-by: Tobias Waldekranz <[email protected]>

Reply via email to