]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: remove redundant initialization of variable result
authorColin Ian King <colin.king@canonical.com>
Wed, 27 May 2020 12:56:11 +0000 (13:56 +0100)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 11 Jun 2020 17:33:48 +0000 (13:33 -0400)
commit3b1abac97a8c311bff4e3d784ae4399ad000ec9a
tree427f2502a861b889765636a80649ef0b78f50375
parentd6fad0c99b2c9718c49d508cbb4701c4ba96ce4c
NFS: remove redundant initialization of variable result

The variable result 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: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c