SUNRPC: Fix a compiler warning in fs/nfs/clnt.c
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 21:06:28 +0000 (17:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 21:06:28 +0000 (17:06 -0400)
Fix the report:

net/sunrpc/clnt.c:2580:1: warning: â€˜static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/clnt.c

index 06b4df9faaa1696b1e21ead9ddacea85cf41f760..d6e75872454d51ab478e0c566acd024732390996 100644 (file)
@@ -2558,7 +2558,7 @@ static void rpc_cb_add_xprt_release(void *calldata)
        kfree(data);
 }
 
-const static struct rpc_call_ops rpc_cb_add_xprt_call_ops = {
+static const struct rpc_call_ops rpc_cb_add_xprt_call_ops = {
        .rpc_call_done = rpc_cb_add_xprt_done,
        .rpc_release = rpc_cb_add_xprt_release,
 };