Commit 56115511 authored by stephen hemminger's avatar stephen hemminger Committed by 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: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69d7ce72
...@@ -286,7 +286,7 @@ EXPORT_SYMBOL(dst_release); ...@@ -286,7 +286,7 @@ 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment