diff options
author | Neil Brown <neilb@cse.unsw.edu.au> | 2005-01-04 05:45:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:45:59 -0800 |
commit | ee9eabb56ef9d855d83ab23195cfca635734b2e7 (patch) | |
tree | 485f9c875d34aefa0502bd140314f2fc48d46469 /fs | |
parent | 74f1778d737b04830914279534c3fd4f3aa0cacd (diff) | |
download | history-ee9eabb56ef9d855d83ab23195cfca635734b2e7.tar.gz |
[PATCH] knfsd: nfsd4: encode_dirent: superfluous assignment
Remove unused assignment
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 71b7aeb4267753..9b4b329125ad55 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -1814,8 +1814,7 @@ nfsd4_encode_dirent(struct readdir_cd *ccd, const char *name, int namlen, exp_get(exp); if (d_mountpoint(dentry)) { - if ((nfserr = nfsd_cross_mnt(cd->rd_rqstp, &dentry, - &exp))) { + if (nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp)) { /* * -EAGAIN is the only error returned from * nfsd_cross_mnt() and it indicates that an |