]> 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)
commit7eac237dc502c9f117ea5459a0fa979c63980aa5
tree2c3b074abc9e251131d95d455a4b26aba355a4cb
parent9261006e9434591fca75c8fbd5dea237649db804
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