nfsd: Remove unnecessary assignment in nfs4xdr.c
authorAlex Dewar <alex.dewar90@gmail.com>
Wed, 12 Aug 2020 14:12:51 +0000 (15:12 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 25 Sep 2020 22:01:27 +0000 (18:01 -0400)
commite2a1840e56a1ace8bce86bc7e40923b4b2748404
tree4c2237d139fecd1fd15b8b8e4031d83d81998096
parent1cc5213baada95155a25e59e21ef696aba1f8143
nfsd: Remove unnecessary assignment in nfs4xdr.c

In nfsd4_encode_listxattrs(), the variable p is assigned to at one point
but this value is never used before p is reassigned. Fix this.

Addresses-Coverity: ("Unused value")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c