diff options
author | Ricardo Ribalda <[email protected]> | 2024-09-28 17:24:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-10-16 09:32:42 +0200 |
commit | 698b6e3163bafd61e1b7d13572e2c42974ac85ec (patch) | |
tree | de3a1e2480346e7a51c275aaeb67d91dfdf64b90 /tools/perf/scripts/python/futex-contention.py | |
parent | 1ee5e1fd82950743ecb9f6c99bd240098a9c6307 (diff) |
media: atomisp: Replace ternary operator with if
Replace the ternary operator with an if. In this case the code is more
clear and also fixes the following cocci warnings:
drivers/staging/media/atomisp/pci/sh_css_frac.h:40:17-18: WARNING opportunity for max()
drivers/staging/media/atomisp/pci/sh_css_frac.h:50:17-18: WARNING opportunity for max()
Signed-off-by: Ricardo Ribalda <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions