Message ID | 1414440728-6144-1-git-send-email-fabf@skynet.be |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Fabian Frederick <fabf@skynet.be> Date: Mon, 27 Oct 2014 21:12:08 +0100 > Let compiler decide what to do with static void __ipxitf_put() > > Suggested-by: David S. Miller <davem@davemloft.net> > Signed-off-by: Fabian Frederick <fabf@skynet.be> > --- > V2: remove __inline__ instead of replacing it by standard inline > (suggested by David S. Miller) Applied, thanks Fabian. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 91729b8..313ef46 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);
Let compiler decide what to do with static void __ipxitf_put() Suggested-by: David S. Miller <davem@davemloft.net> Signed-off-by: Fabian Frederick <fabf@skynet.be> --- V2: remove __inline__ instead of replacing it by standard inline (suggested by David S. Miller) net/ipx/af_ipx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)