From: Trond Myklebust Date: Sun, 24 Jul 2016 21:06:28 +0000 (-0400) Subject: SUNRPC: Fix a compiler warning in fs/nfs/clnt.c X-Git-Tag: v4.8-rc1~87^2~7^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce272302dd8f477b4d7de9b145b6b42da7e4292d;p=karo-tx-linux.git 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 --- 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) 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, };