]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: remove redundant assignment to variable rc
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Apr 2020 21:51:49 +0000 (22:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 23:26:58 +0000 (16:26 -0700)
commitd9187733c4ac9edb6002aaa6a34ab7521cdc13be
tree8f84f8a4d4674e5a8fb876679283009faba227d8
parente11d5cbfd0e7632f75eb7dc4352bec9837e13085
net: ipv4: remove redundant assignment to variable rc

The variable rc is being assigned 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: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c