Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbaJ0UMP (ORCPT ); Mon, 27 Oct 2014 16:12:15 -0400 Received: from mailrelay003.isp.belgacom.be ([195.238.6.53]:6438 "EHLO mailrelay003.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751504AbaJ0UMO (ORCPT ); Mon, 27 Oct 2014 16:12:14 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmEPAGemTlRXQ3zJ/2dsb2JhbABcgw6BLLlECwUBdJpDgR8XAX2EMC8jgRo3iEUBvGWPEoY0iXBkHYQ1BZ1hjGqJRIFHAYIxPC+BBoFFAQEB From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , Arnaldo Carvalho de Melo , "David S. Miller" , netdev@vger.kernel.org Subject: [PATCH V2 net-next] ipx: remove __inline__ in c file on static Date: Mon, 27 Oct 2014 21:12:08 +0100 Message-Id: <1414440728-6144-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let compiler decide what to do with static void __ipxitf_put() Suggested-by: David S. Miller Signed-off-by: Fabian Frederick --- 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(-) 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); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/