aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMaya Nakamura <[email protected]>2018-10-27 03:15:03 -0700
committerGreg Kroah-Hartman <[email protected]>2018-11-05 14:16:33 +0100
commit948569b72a5daf62559df764f37d5dc39dc76ef7 (patch)
tree54ef29318989dcbd98b419961f91ffe1890b2db6 /tools/perf/scripts/python/exported-sql-viewer.py
parent2c66f2a9efd9cdba235e9d41de544e23ccdb8700 (diff)
staging: rtlwifi: Remove function that only returns the second argument
Because the odm_signal_scale_mapping function is only called to return the second argument, remove the unnecessary function and change the statements that call it, including removing unneeded braces and adding a blank line. Note that removing casts (u8 to s32 and back to u8) will not lose information because the value converted should be between 0 and 100. Signed-off-by: Maya Nakamura <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions