Skip to content

Commit ce27230

Browse files
committed
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 <[email protected]>
1 parent bdc54d8 commit ce27230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sunrpc/clnt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2558,7 +2558,7 @@ static void rpc_cb_add_xprt_release(void *calldata)
25582558
kfree(data);
25592559
}
25602560

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 = {
25622562
.rpc_call_done = rpc_cb_add_xprt_done,
25632563
.rpc_release = rpc_cb_add_xprt_release,
25642564
};

0 commit comments

Comments
 (0)