NFSd: Remove 'inline' designation for free_client()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Apr 2014 18:43:58 +0000 (14:43 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 May 2014 21:54:53 +0000 (17:54 -0400)
It is large, it is used in more than one place, and it is not performance
critical. Let gcc figure out whether it should be inlined...

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index 32b699b..841495a 100644 (file)
@@ -1093,7 +1093,7 @@ static struct nfs4_client *alloc_client(struct xdr_netobj name)
        return clp;
 }
 
-static inline void
+static void
 free_client(struct nfs4_client *clp)
 {
        struct nfsd_net __maybe_unused *nn = net_generic(clp->net, nfsd_net_id);