]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: remove redundant assignment to pointer 'this'
authorColin Ian King <colin.king@canonical.com>
Thu, 13 May 2021 15:16:39 +0000 (16:16 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 Jul 2021 00:14:44 +0000 (20:14 -0400)
commit770eb5c4a5572c9ba43d4c1f2f13fa0c797cbeb4
tree8c5f9ba799ddd397b17c528649649d899a27615e
parentaf6e1eb1e8f8d7d4e75257af38fd135e1d5b0c44
nfsd: remove redundant assignment to pointer 'this'

The pointer 'this' is being initialized with a value that is never read
and it is being updated later with a new value. The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c