提交 ce927bf1 编写于 作者: S stephen hemminger 提交者: David S. Miller

mpls: get rid of trivial returns

return at end of function is useless.
Signed-off-by: NStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ba3d0dda
......@@ -961,9 +961,6 @@ static void mpls_ifdown(struct net_device *dev, int event)
RCU_INIT_POINTER(nh->nh_dev, NULL);
} endfor_nexthops(rt);
}
return;
}
static void mpls_ifup(struct net_device *dev, unsigned int nh_flags)
......@@ -997,8 +994,6 @@ static void mpls_ifup(struct net_device *dev, unsigned int nh_flags)
ACCESS_ONCE(rt->rt_nhn_alive) = alive;
}
return;
}
static int mpls_dev_notify(struct notifier_block *this, unsigned long event,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册