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

dst: don't inline dst_ifdown

The function dst_ifdown is called only two places but in a non-
performance critical code path, there is no reason to inline it.
Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 69d7ce72
...@@ -286,8 +286,8 @@ EXPORT_SYMBOL(dst_release); ...@@ -286,8 +286,8 @@ EXPORT_SYMBOL(dst_release);
* *
* Commented and originally written by Alexey. * Commented and originally written by Alexey.
*/ */
static inline void dst_ifdown(struct dst_entry *dst, struct net_device *dev, static void dst_ifdown(struct dst_entry *dst, struct net_device *dev,
int unregister) int unregister)
{ {
if (dst->ops->ifdown) if (dst->ops->ifdown)
dst->ops->ifdown(dst, dev, unregister); dst->ops->ifdown(dst, dev, unregister);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册