net: ieee802154: remove redundant assignment to rc
authorColin Ian King <colin.king@canonical.com>
Tue, 13 Aug 2019 14:28:18 +0000 (15:28 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 13 Aug 2019 23:10:41 +0000 (01:10 +0200)
commit074014abdf2bd2a00da3dd14a6ae04cafc1d62cc
treed84620b862e255d31727aefb8651696360cbdd30
parentde166bbe861738c8bc3e5dad5b03f45d7d6ef914
net: ieee802154: remove redundant assignment to rc

Variable rc is initialized to a value that is never read and it is
re-assigned later. 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: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/socket.c