summaryrefslogtreecommitdiff
path: root/net/core/dst.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-04-12 11:38:05 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-13 14:32:44 +0400
commit561155110307ad304226a23272244398fa46cbae (patch)
treeb284f673ba3409b1aed5e6af78233b0a59ce8c9c /net/core/dst.c
parent69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58 (diff)
downloadlinux-561155110307ad304226a23272244398fa46cbae.tar.xz
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/core/dst.c')
-rw-r--r--net/core/dst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dst.c b/net/core/dst.c
index b8c22f0f9373..9920722cc82b 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);