diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-21 16:06:47 +0800 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 09:40:24 +0100 |
| commit | e407199c961f229463c9ede59d319182a2d58904 (patch) | |
| tree | 460126e5aa58a7189016c2d46e77163e0e36d81d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 3a4cdd1155de2c7d90a35d67b779774045e4cbb1 (diff) | |
iio: chemical: 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: Gustavo Silva <gustavograzs@gmail.com> # for ens160
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250821080723.525379-4-zhao.xichao@vivo.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
