staging: rtl8192e: Remove variable host_decrypt as it is constant
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 24 Jun 2023 06:04:20 +0000 (08:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 07:57:38 +0000 (09:57 +0200)
commita56cbbcc730a1e304360d918ca25b9051594fc39
tree4e97684a8ea88d74a24e1b3e6b2573dd13a37f2e
parent1047daace0aed641d8a93cc8b6593b12040314a7
staging: rtl8192e: Remove variable host_decrypt as it is constant

ieee->host_decrypt also named priv->rtllib->host_decrypt is initialized
to 1 and then unchanged. All evaluations will result accordingly. Remove
resulting dead code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/637350e9bc3edded665009a30d12350157e8a9a9.1687583718.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_module.c
drivers/staging/rtl8192e/rtllib_rx.c