aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHsin-Yu.Chen <harry021633@gmail.com>2024-03-06 12:19:00 +0800
committerWolfram Sang <wsa+renesas@sang-engineering.com>2024-03-07 09:36:08 +0100
commitf311507c5336ad6b9ca7687c35c3bd7a4fe2868c (patch)
treefb396fc74d02818fd46b41dfe014ba06071ff645 /tools/perf/scripts/python/export-to-sqlite.py
parent8821c8376993c271a77d241a4e657099f7400974 (diff)
i2c: remove redundant condition
I2C_M_RD is defined as and guaranteed to be 1 and 'flag & I2C_M_RD' is one or zero. No need for an additional condition to obtain the value. Signed-off-by: Hsin-Yu.Chen <harry021633@gmail.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> [wsa: slightly updated commit message] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions