dst: don't inline dst_ifdown
authorstephen hemminger <shemminger@vyatta.com>
Mon, 12 Apr 2010 07:38:05 +0000 (07:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 10:32:44 +0000 (03:32 -0700)
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>
net/core/dst.c

index b8c22f0..9920722 100644 (file)
@@ -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);