aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-21 16:06:46 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-25 09:40:13 +0100
commit3a4cdd1155de2c7d90a35d67b779774045e4cbb1 (patch)
tree3c13f2526e5f497d150e2280dfc6e37ff5c59974 /tools/perf/scripts/python/event_analyzing_sample.py
parentiio: accel: msa311: Remove dev_err_probe() if error is -ENOMEM (diff)
downloadlinux-3a4cdd1155de2c7d90a35d67b779774045e4cbb1.tar.gz
linux-3a4cdd1155de2c7d90a35d67b779774045e4cbb1.zip
iio: adc: Remove dev_err_probe() if error is -ENOMEM
The dev_err_probe() doesn't do anything when the error is '-ENOMEM'. Therefore, remove the useless call to dev_err_probe(), and just return the value instead. Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # meson_saradc Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20250821080723.525379-3-zhao.xichao@vivo.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions