]> 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)
commit119d2cd40193e37895f14a21e4aa1ce4d7d9abff
tree427f2502a861b889765636a80649ef0b78f50375
parentd3af2499e9cca5fd92e06eb0608fb162dda71a85
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