Re: [RFC PATCH net-next 2/9] net: switchdev: delete switchdev_port_obj_add_now

2020-12-16 Thread Florian Fainelli
On 12/16/2020 5:58 PM, Vladimir Oltean wrote: > After the removal of the transactional model inside > switchdev_port_obj_add_now, it has no added value and we can just call > switchdev_port_obj_notify directly, bypassing this function. Let's > delete it. > > Signed-off-by: Vladimir Oltean Rev

[RFC PATCH net-next 2/9] net: switchdev: delete switchdev_port_obj_add_now

2020-12-16 Thread Vladimir Oltean
After the removal of the transactional model inside switchdev_port_obj_add_now, it has no added value and we can just call switchdev_port_obj_notify directly, bypassing this function. Let's delete it. Signed-off-by: Vladimir Oltean --- net/switchdev/switchdev.c | 17 + 1 file cha