OSDN Git Service

staging: rtl8192e: Remove enum RF_1T2R and RF_Type
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 2 Apr 2023 09:51:47 +0000 (11:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 14:38:23 +0000 (16:38 +0200)
commitb7119698bcca83d6d755b866bcf7328314d9cde0
treed6bc8504b90fa0d4f874e57ec7d00c9929f8f600
parentd8571801a61c01841ac1813e0fb97048c2505a6a
staging: rtl8192e: Remove enum RF_1T2R and RF_Type

enum RF_1T2R is used to initialize a local variable RF_Type that is then
shifted. The result of the shift is zero. Remove code that has always
the same result to increase readability.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/6c29e709f5c328703870ca8e7d61ee6338886fa7.1680427945.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c
drivers/staging/rtl8192e/rtllib.h