summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-02-17 17:16:12 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-04 16:17:49 +0300
commit0af1c801a15225304a6328258efbf2bee245c654 (patch)
tree7dab6e32da69e6021c8c4a52f28bd47de57c3212 /tools/perf/scripts/python/sched-migration.py
parent4758f987d3a1b0e7f7b559fb864db02ae2474231 (diff)
downloadlinux-0af1c801a15225304a6328258efbf2bee245c654.tar.xz
iio: adc: ad7768-1: Move setting of val a bit later to avoid unnecessary return value check
The data used is all in local variables so there is no advantage in setting *val = ret with the direct mode claim held. Move it later to after error check. Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250217141630.897334-13-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions