[PATCH V2 net-next] ipx: remove __inline__ in c file on static

Subsystems: networking [general], the rest

STALE4297d

2 messages, 2 authors, 2014-10-27 · open the first message on its own page

[PATCH V2 net-next] ipx: remove __inline__ in c file on static

From: Fabian Frederick <hidden>
Date: 2014-10-27 20:12:15

Let compiler decide what to do with static void __ipxitf_put()

Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Fabian Frederick <redacted>
---
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

Re: [PATCH V2 net-next] ipx: remove __inline__ in c file on static

From: David Miller <davem@davemloft.net>
Date: 2014-10-27 20:25:58

From: Fabian Frederick <redacted>
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 <redacted>
---
V2: remove __inline__ instead of replacing it by standard inline
(suggested by David S. Miller)
Applied, thanks Fabian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help