summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOscar Carter <oscar.carter@gmx.com>2020-03-28 15:17:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-13 08:55:27 +0200
commit3b643f431162469009f38998a4d328d62496cecf (patch)
tree61b1eb9d30c31170a68b75f1341b84ded879820a /tools/perf/scripts/python/export-to-sqlite.py
parent3d7b79f2ee473daa547722b5a14d4028ef68d097 (diff)
staging: vt6656: Use defines in preamble_type variables
Use the PREAMBLE_SHORT and PREAMBLE_LONG defines present in the file "baseband.h" to assign values to preamble_type variables. Also, use the same defines to make comparisons against these variables. In this way, avoid the use of numerical literals or boolean values and make the code more clear. Signed-off-by: Oscar Carter <oscar.carter@gmx.com> Reviewed-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk> Link: https://lore.kernel.org/r/20200328141738.23810-1-oscar.carter@gmx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions