From: stephen hemminger Date: Mon, 12 Apr 2010 07:38:05 +0000 (+0000) Subject: dst: don't inline dst_ifdown X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=561155110307ad304226a23272244398fa46cbae;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: David S. Miller --- 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);