aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2024-04-29 16:04:53 +0100
committerMauro Carvalho Chehab <[email protected]>2024-05-03 11:12:24 +0100
commit529c657f5bee623e2e0c34c89a9431bdd70311e3 (patch)
tree28c5d24ca813ea722d0538f69ab4b2e7add97a6c /tools/perf/scripts/python
parent2998b976300d087db739f044a105c88573f031d4 (diff)
media: dvb-frontends: drx39xyj: Use min macro
Replace ternary assignments with min() to simplify and make the code more readable. Found by cocci: drivers/media/dvb-frontends/drx39xyj/drxj.c:1447:23-24: WARNING opportunity for min() drivers/media/dvb-frontends/drx39xyj/drxj.c:1662:21-22: WARNING opportunity for min() drivers/media/dvb-frontends/drx39xyj/drxj.c:1685:24-25: WARNING opportunity for min() Link: https://lore.kernel.org/linux-media/[email protected] Reviewed-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions