From: Fabian Frederick Date: Mon, 27 Oct 2014 20:12:08 +0000 (+0100) Subject: ipx: remove __inline__ in c file on static X-Git-Tag: firefly_0821_release~176^2~2717^2~339 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b8901ac319768cdd3afa060787503e0c405f9607;p=firefly-linux-kernel-4.4.55.git ipx: remove __inline__ in c file on static Let compiler decide what to do with static void __ipxitf_put() Suggested-by: David S. Miller Signed-off-by: Fabian Frederick Signed-off-by: David S. Miller --- diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 91729b807c7d..313ef4644069 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -306,7 +306,7 @@ void ipxitf_down(struct ipx_interface *intrfc) spin_unlock_bh(&ipx_interfaces_lock); } -static __inline__ void __ipxitf_put(struct ipx_interface *intrfc) +static void __ipxitf_put(struct ipx_interface *intrfc) { if (atomic_dec_and_test(&intrfc->refcnt)) __ipxitf_down(intrfc);