]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d185becbc9459020f7ea366af1b5ab8e634c412
tree4c2237d139fecd1fd15b8b8e4031d83d81998096
parent385e761e7434b67a498966478abb0c42c7c9335b
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