staging: r8188eu: remove rf_type from storePwrIndexDiffRateOffset()
authorMichael Straube <straube.linux@gmail.com>
Sun, 28 Nov 2021 17:09:17 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:36 +0000 (15:13 +0100)
commit0cafa5b5eb224be837dd3c948d34bc977ddedc88
tree30398f4a38cfc01728b96c58ea4b49da6a27a47e
parentf95de483b5b138e3c1bea55617f89f5e2f38d10c
staging: r8188eu: remove rf_type from storePwrIndexDiffRateOffset()

pHalData->rf_type is always RF_1T1R. Remove unnecessary checks and
related dead code from storePwrIndexDiffRateOffset().

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211128170924.5874-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c