Commit 720b8f2d authored by \\\"J. Bruce Fields\\\'s avatar \\\"J. Bruce Fields\\\ Committed by Trond Myklebust

rpc: eliminate unused variable in auth_gss upcall code

Also, a minor comment grammar fix in the same file.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent b6b6152c
...@@ -272,7 +272,7 @@ __gss_find_upcall(struct rpc_inode *rpci, uid_t uid) ...@@ -272,7 +272,7 @@ __gss_find_upcall(struct rpc_inode *rpci, uid_t uid)
return NULL; return NULL;
} }
/* Try to add a upcall to the pipefs queue. /* Try to add an upcall to the pipefs queue.
* If an upcall owned by our uid already exists, then we return a reference * If an upcall owned by our uid already exists, then we return a reference
* to that upcall instead of adding the new upcall. * to that upcall instead of adding the new upcall.
*/ */
...@@ -493,7 +493,6 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) ...@@ -493,7 +493,6 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
{ {
const void *p, *end; const void *p, *end;
void *buf; void *buf;
struct rpc_clnt *clnt;
struct gss_upcall_msg *gss_msg; struct gss_upcall_msg *gss_msg;
struct inode *inode = filp->f_path.dentry->d_inode; struct inode *inode = filp->f_path.dentry->d_inode;
struct gss_cl_ctx *ctx; struct gss_cl_ctx *ctx;
...@@ -507,7 +506,6 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) ...@@ -507,7 +506,6 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
if (!buf) if (!buf)
goto out; goto out;
clnt = RPC_I(inode)->private;
err = -EFAULT; err = -EFAULT;
if (copy_from_user(buf, src, mlen)) if (copy_from_user(buf, src, mlen))
goto err; goto err;
......
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