aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-21 16:06:50 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-25 09:40:55 +0100
commit7216d7b9beb87f4afd62d737f024254ca3c0746c (patch)
tree4fe99f32409c7181b2c995c7741c1809bb560f5e /tools/perf/scripts/python
parentiio: light: Remove dev_err_probe() if error is -ENOMEM (diff)
downloadlinux-7216d7b9beb87f4afd62d737f024254ca3c0746c.tar.gz
linux-7216d7b9beb87f4afd62d737f024254ca3c0746c.zip
iio: proximity: 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: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20250821080723.525379-7-zhao.xichao@vivo.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions