Re: [PATCH net-next 2/3] net: dsa: make port_bridge_leave return void
From: Jiri Pirko
Date: Sun Mar 13 2016 - 16:57:07 EST
Sun, Mar 13, 2016 at 09:21:33PM CET, vivien.didelot@xxxxxxxxxxxxxxxxxxxx wrote:
>netdev_upper_dev_unlink() which notifies NETDEV_CHANGEUPPER, returns
>void, as well as del_nbp(). So there's no advantage to catch an eventual
>error from the port_bridge_leave routine at the DSA level.
>
>Make this routine void for the DSA layer and its existing drivers.
>
>Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>