diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-04-12 03:38:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 06:32:44 -0400 |
commit | 561155110307ad304226a23272244398fa46cbae (patch) | |
tree | b284f673ba3409b1aed5e6af78233b0a59ce8c9c /net/core/dst.c | |
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/core/dst.c')
-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 b8c22f0f9373..9920722cc82b 100644 --- a/net/core/dst.c +++ b/net/core/dst.c | |||
@@ -286,8 +286,8 @@ EXPORT_SYMBOL(dst_release); | |||
286 | * | 286 | * |
287 | * Commented and originally written by Alexey. | 287 | * Commented and originally written by Alexey. |
288 | */ | 288 | */ |
289 | static inline void dst_ifdown(struct dst_entry *dst, struct net_device *dev, | 289 | static void dst_ifdown(struct dst_entry *dst, struct net_device *dev, |
290 | int unregister) | 290 | int unregister) |
291 | { | 291 | { |
292 | if (dst->ops->ifdown) | 292 | if (dst->ops->ifdown) |
293 | dst->ops->ifdown(dst, dev, unregister); | 293 | dst->ops->ifdown(dst, dev, unregister); |