Commit ce272302 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Fix a compiler warning in fs/nfs/clnt.c

Fix the report:

net/sunrpc/clnt.c:2580:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent bdc54d8e
...@@ -2558,7 +2558,7 @@ static void rpc_cb_add_xprt_release(void *calldata) ...@@ -2558,7 +2558,7 @@ static void rpc_cb_add_xprt_release(void *calldata)
kfree(data); 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_call_done = rpc_cb_add_xprt_done,
.rpc_release = rpc_cb_add_xprt_release, .rpc_release = rpc_cb_add_xprt_release,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment