summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChandra Mohan Sundar <chandramohan.explore@gmail.com>2025-08-16 19:07:55 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-17 15:31:54 +0100
commit26d48cc203e1c4d79b0bb6c7e2cdcaea5f548971 (patch)
tree66561fcfa22400f184379f1993e6b65193d61ca6 /tools/perf/scripts/python/exported-sql-viewer.py
parent35e3d0cd8e89d811b915593cbd8d9891d21d4a1a (diff)
iio: adc: ad7768-1: Remove logically dead code
The clamp macro returns a value within the specified range. In ad7768_set_freq(), the value returned from clamp() is checked against zero, which is not possible since the value would always be between 50 and 1024000. Removed the 'if' check. This issue was reported by static coverity analyser as logically dead code. Signed-off-by: Chandra Mohan Sundar <chandramohan.explore@gmail.com> Link: https://patch.msgid.link/20250816133757.98624-1-chandramohan.explore@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions