OSDN Git Service

staging: rtl8192e: remove redundant setting of rf_type
authorMichael Straube <straube.linux@gmail.com>
Sat, 25 Mar 2023 13:28:21 +0000 (14:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 19:21:01 +0000 (20:21 +0100)
commita3ed769cc229e7d395f9c772e5db72ded643169d
tree8103c6a1e9f86af4d5cb4b12ce0ccad38cc16b97
parentb4474375481fbdd6f8568aadc5ccf6acf09cf997
staging: rtl8192e: remove redundant setting of rf_type

At this point the value of priv->rf_type is RF_1T2R already. Setting
it again is redundant and can be removed.

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-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c