OSDN Git Service

SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDS
authorChuck Lever <chuck.lever@oracle.com>
Tue, 12 May 2020 21:13:44 +0000 (17:13 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 11 Jun 2020 17:33:48 +0000 (13:33 -0400)
commiteefc536dbdf1c55777bb192dfac2faf0993d8e10
tree04a05724108bfe084f3cb93a4f122d4dc4429c92
parent42aad0d7f9486b72155892c689bea2ff9793d8a8
SUNRPC: rpc_call_null_helper() already sets RPC_TASK_NULLCREDS

Clean up.

Commit a52458b48af1 ("NFS/NFSD/SUNRPC: replace generic creds with
'struct cred'.") made rpc_call_null_helper() set RPC_TASK_NULLCREDS
unconditionally. Therefore there's no need for
rpc_call_null_helper()'s call sites to set RPC_TASK_NULLCREDS.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c