]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: Remove redundant initialization of variable ret
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Sep 2021 10:28:14 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2021 13:06:08 +0000 (14:06 +0100)
commit1e5a6691ac9972ae2a0a9bc4c1d4cfb3abb51a7a
tree2102ae59731f961f4081d0b0089bb9010f72669a
parent678dfbf05ec189a91687b2dfb84a8123440bf7c2
ieee802154: Remove redundant initialization of variable ret

The variable ret is being initialized with a value that is never read, it
is being updated later on. The assignment 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/mac802154/iface.c