summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-11-28 18:09:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-03 15:13:36 +0100
commit8f18397277308220e7079fadaf71d5d9c72c71c5 (patch)
tree915b136354c9535ceca67a35c194aa186e9acce0 /tools/perf/scripts/python/netdev-times.py
parent0cafa5b5eb224be837dd3c948d34bc977ddedc88 (diff)
downloadkernel-8f18397277308220e7079fadaf71d5d9c72c71c5.tar.gz
staging: r8188eu: remove rf_type from getTxPowerIndex88E()
pHalData->rf_type is always RF_1T1R. As a result the variable path_nums is always set to 1 and the for loop is entered only once with TxCount = 0. Also RF_PATH_A = 0. Remove the unneeded check for pHalData->rf_type and resulting dead code from getTxPowerIndex88E(). Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211128170924.5874-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions