summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-08-12 12:46:12 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-09-27 09:40:04 +0200
commit42c26b4cd1f725653476c5423d260609b6446fea (patch)
tree7493d29937687cda780689bc69e95d33fcf173a9 /tools/perf/scripts/python/stackcollapse.py
parent65214188ca1dbaa390edbae20ae31d210da7c46b (diff)
downloadlinux-42c26b4cd1f725653476c5423d260609b6446fea.tar.gz
linux-42c26b4cd1f725653476c5423d260609b6446fea.zip
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/20230812104612.38806-1-hdegoede@redhat.com Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions