net: dsa: make port_bridge_leave return void
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 13 Mar 2016 20:21:33 +0000 (16:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 20:05:31 +0000 (16:05 -0400)
commit16bfa7024eba5e36aff38ba62086b9027373007d
treefd05f05fe264eada7ea446a554c0fa0933019abd
parent71327a4e7d997276d49db92fd3d30008389ee6d5
net: dsa: make port_bridge_leave return void

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@savoirfairelinux.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h
include/net/dsa.h
net/dsa/slave.c