summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-04-12 07:38:05 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-13 03:32:44 -0700
commit561155110307ad304226a23272244398fa46cbae (patch)
treeb284f673ba3409b1aed5e6af78233b0a59ce8c9c /net/core
parent69d7ce72b926d4ceeacd2b7b9ffcbc37ae4b1c58 (diff)
downloadop-kernel-dev-561155110307ad304226a23272244398fa46cbae.zip
op-kernel-dev-561155110307ad304226a23272244398fa46cbae.tar.gz
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')
-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 b8c22f0..9920722 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);
OpenPOWER on IntegriCloud