staging: rtl8192e: Remove unused if clauses in rtl92e_set_wireless_mode
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 27 Mar 2023 21:02:51 +0000 (23:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Mar 2023 11:34:38 +0000 (13:34 +0200)
commit4648ac046624d7d59d51122277f50fed84923629
treed6cf147fd15c183ec4818b8c55724df0c0dd6e4f
parent1b4217b400aedad80512c389c8aef4fe7bbc0119
staging: rtl8192e: Remove unused if clauses in rtl92e_set_wireless_mode

Equation (support_mode & WIRELESS_MODE_N_24G) will always be true. Remove
resulting dead code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/359ed203ab08afe5c2f449f40d2958868b4e55b4.1679949171.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c