OSDN Git Service

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)
commit68e9a2463d08f870abf8edfe9125b7738f7a63ce
tree2252bfa1748bd3c09df96d497cad772e656c1352
parentb5fdf8418c370d69e8b2d3588e0cf2a375ab26c1
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