NFS: remove redundant initialization of variable result
authorColin Ian King <colin.king@canonical.com>
Fri, 24 Jul 2020 10:44:41 +0000 (11:44 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 28 Jul 2020 15:04:06 +0000 (11:04 -0400)
commit9a74a2b87f4ca6c987039b3fb96d32093584afc2
tree3c047bf0bf2c09ede6c375f16850fd7cfeb2a7d0
parentdbc4fec6b6dd2d23e161b250d51cbd28bd9c8497
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: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/direct.c