diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-04-12 07:38:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 03:32:44 -0700 |
commit | 561155110307ad304226a23272244398fa46cbae (patch) | |
tree | b284f673ba3409b1aed5e6af78233b0a59ce8c9c /net | |
parent | 69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58 (diff) |
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: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index b8c22f0f937..9920722cc82 100644 --- a/net/core/dst.c +++ b/net/core/dst.c @@ -286,8 +286,8 @@ EXPORT_SYMBOL(dst_release); * * Commented and originally written by Alexey. */ -static inline void dst_ifdown(struct dst_entry *dst, struct net_device *dev, - int unregister) +static void dst_ifdown(struct dst_entry *dst, struct net_device *dev, + int unregister) { if (dst->ops->ifdown) dst->ops->ifdown(dst, dev, unregister); |