]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: hwsim: remove redundant initialization of variable res
authorColin Ian King <colin.king@canonical.com>
Mon, 29 Mar 2021 11:23:54 +0000 (12:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 23:23:08 +0000 (16:23 -0700)
commit0f9de688ca800c011304e177bf8f924b12b4ae74
tree6fb4b3a2c0094cf5b5e965631128bd0b01a48eea
parent91fa584a481a1c2160f61c967646805c4eb283c7
ieee802154: hwsim: remove redundant initialization of variable res

The variable res 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>
drivers/net/ieee802154/mac802154_hwsim.c