mac80211: remove redundant assignment of variable result
authorColin Ian King <colin.king@canonical.com>
Sun, 28 Mar 2021 21:37:29 +0000 (22:37 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Apr 2021 09:36:28 +0000 (11:36 +0200)
commit958574cbcc3ae31f18bbe0b1d7f3ab3f2bd109f1
tree408b298526857e999097ebd572306bf2a13e9abc
parent026dfac85f0a70cd1fd00181f1079b2c256b0e12
mac80211: remove redundant assignment of variable result

The variable result is being assigned 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>
Link: https://lore.kernel.org/r/20210328213729.65819-1-colin.king@canonical.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c