]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: remove redundant assignments to variable status
authorColin Ian King <colin.king@canonical.com>
Fri, 28 Feb 2020 23:44:14 +0000 (23:44 +0000)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 14:10:36 +0000 (10:10 -0400)
commitf757d6154d75cde6cfc896a08dfb288e05856e87
tree2252bfa1748bd3c09df96d497cad772e656c1352
parent05c42dec42271aa78e2d3f342c673cbebf4bf507
SUNRPC: remove redundant assignments to variable status

The variable status 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>
net/sunrpc/xprtsock.c