staging: rtl8192e: priv->rf_type is always RF_1T2R
authorMichael Straube <straube.linux@gmail.com>
Sat, 25 Mar 2023 13:28:22 +0000 (14:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 19:21:01 +0000 (20:21 +0100)
commit2fd65482d923ee09a6e133dcc15f988a4a44420b
tree0c983c356caf2e7756142250e81a7a010365a299
parenta3ed769cc229e7d395f9c772e5db72ded643169d
staging: rtl8192e: priv->rf_type is always RF_1T2R

The value of priv->rf_type is always RF_1T2R. Remove if statements
that check for priv->rf_type == RF_1T2R and remove resulting dead
code.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230325132823.22872-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c