summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-21 16:06:45 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-25 09:39:46 +0100
commit666a22bb31e48ec467b77ec61fe1630a18ea0c2d (patch)
tree19daf4d2edc79334fdeca26a131665821e1b37e5 /scripts/gdb/linux/xarray.py
parent3f33d1530c2c9576b57ecd220bfa7e527184a80b (diff)
iio: accel: msa311: 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-2-zhao.xichao@vivo.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions