|
@@ -1126,7 +1126,7 @@ static int ocelot_netdevice_event(struct notifier_block *unused,
|
|
|
{
|
|
{
|
|
|
struct netdev_notifier_changeupper_info *info = ptr;
|
|
struct netdev_notifier_changeupper_info *info = ptr;
|
|
|
struct net_device *dev = netdev_notifier_info_to_dev(ptr);
|
|
struct net_device *dev = netdev_notifier_info_to_dev(ptr);
|
|
|
- int ret;
|
|
|
|
|
|
|
+ int ret = 0;
|
|
|
|
|
|
|
|
if (netif_is_lag_master(dev)) {
|
|
if (netif_is_lag_master(dev)) {
|
|
|
struct net_device *slave;
|
|
struct net_device *slave;
|