diff options
| author | Hans de Goede <[email protected]> | 2023-08-12 12:46:12 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-09-27 09:40:04 +0200 |
| commit | 42c26b4cd1f725653476c5423d260609b6446fea (patch) | |
| tree | 7493d29937687cda780689bc69e95d33fcf173a9 /tools/perf/scripts/python/flamegraph.py | |
| parent | 65214188ca1dbaa390edbae20ae31d210da7c46b (diff) | |
media: atomisp: Simplify some if (IS_ISP2401...) statements
Replace:
if (!IS_ISP2401 || (IS_ISP2401 && xxx))
with:
if (!IS_ISP2401 || xxx)
If the right side of the '||' needs to be evaluated then it is
already known that IS_ISP2401 is true, so no need to check for it.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions