diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 17:06:28 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 17:06:28 -0400 |
commit | ce272302dd8f477b4d7de9b145b6b42da7e4292d (patch) | |
tree | 7c25908ed0f181ebcfe9b0f7b07cf89b138a3ece | |
parent | bdc54d8e3cb4a41dddcabfd86d9eb3aa5f622b75 (diff) |
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: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r-- | net/sunrpc/clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 06b4df9faaa1..d6e75872454d 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -2558,7 +2558,7 @@ static void rpc_cb_add_xprt_release(void *calldata) | |||
2558 | kfree(data); | 2558 | kfree(data); |
2559 | } | 2559 | } |
2560 | 2560 | ||
2561 | const static struct rpc_call_ops rpc_cb_add_xprt_call_ops = { | 2561 | static const struct rpc_call_ops rpc_cb_add_xprt_call_ops = { |
2562 | .rpc_call_done = rpc_cb_add_xprt_done, | 2562 | .rpc_call_done = rpc_cb_add_xprt_done, |
2563 | .rpc_release = rpc_cb_add_xprt_release, | 2563 | .rpc_release = rpc_cb_add_xprt_release, |
2564 | }; | 2564 | }; |