staging: wlan-ng: remove redundant initialization of variable txresult
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Apr 2021 11:20:46 +0000 (12:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:27 +0000 (11:19 +0200)
commitad843f3920354871bb26a92a8511426a662c7526
tree44373b0f7fbe9cb9c274ab1dd10a07c79909c8c5
parent1873cb875525b1f1fef166fb56619942401c85dc
staging: wlan-ng: remove redundant initialization of variable txresult

The variable txresult 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.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210422112046.245144-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211netdev.c