aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-12 11:42:33 +0200
committerMauro Carvalho Chehab <[email protected]>2023-11-23 13:34:43 +0100
commit0cb8c9482501c46854ddb3d43b1bc05d771b9624 (patch)
tree8e6140abd52bc5c327ca4098f477cfc9a2e824d7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentce122258ed8678d0a32b825ba3d7dd3cc16052df (diff)
media: qcom: camss: clean up a check
Imagine that "->vfe_num" is zero, then the subtraction will underflow to UINT_MAX. Plus it's just cleaner to use >= instead. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Bryan O'Donoghue <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions