staging: rtl8192u: remove redundant assignment to pointer crypt
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Aug 2019 08:46:09 +0000 (09:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:24:46 +0000 (10:24 +0200)
commit5e718a12e1a125045b451678faf6ceffc7591e3b
tree0c68bd9986b297b5c6741e4f5ecd64e7bf4ebcf9
parent5ab706bd0bcaea0296426ecca333f69bad60d24e
staging: rtl8192u: remove redundant assignment to pointer crypt

The pointer crypt is being set with a value that is never read,
the assignment is redundant and hence can be removed.

Thanks to Dan Carpenter for sanity checking that this was indeed
redundant.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190822084609.8971-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c