OSDN Git Service

ipx: remove __inline__ in c file on static
authorFabian Frederick <fabf@skynet.be>
Mon, 27 Oct 2014 20:12:08 +0000 (21:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 20:25:31 +0000 (16:25 -0400)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipx/af_ipx.c

index 91729b8..313ef46 100644 (file)
@@ -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);