staging: rtl8192e: Remove check if channel_array[channel_plan].len != 0
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 18 Nov 2023 08:51:54 +0000 (09:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 12:46:19 +0000 (12:46 +0000)
commit7e655d4a801d7bc0eb146c061dc784a8747bf82e
treef566aa0d4093eba4a5dcbb26bc82ef5bd42fedd7
parent89d132c7b0463ee5a704aae787cb66bdd08d03ec
staging: rtl8192e: Remove check if channel_array[channel_plan].len != 0

channel_plan is constant COUNTRY_CODE_WORLD_WIDE_13. Remove equation to
check length of array as it is always not 0.

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