]> git.baikalelectronics.ru Git - kernel.git/commit
net-sysfs: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Apr 2020 13:41:26 +0000 (14:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Apr 2020 17:14:53 +0000 (10:14 -0700)
commit30fd59676a0cb05311ad4e8be3aa11a24b2b05e7
tree2c3b074abc9e251131d95d455a4b26aba355a4cb
parent75f4bd6422c2789d0cf010b3c5c1d63bea8fd451
net-sysfs: remove redundant assignment to variable ret

The variable ret 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: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c