summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorWaqar Hameed <waqar.hameed@axis.com>2025-08-05 11:33:34 +0200
committerLee Jones <lee@kernel.org>2025-10-01 10:28:19 +0100
commit99767a0c8bb4e206f6cea37f5162073d1899168c (patch)
treeab52214fb6ab4f84ac81c6d7fa56320827c93cf1 /scripts/gdb/linux/modules.py
parent9ac4890ac39352ccea132109e32911495574c3ec (diff)
mfd: macsmc: Remove error prints for devm_add_action_or_reset()
When `devm_add_action_or_reset()` fails, it is due to a failed memory allocation and will thus return `-ENOMEM`. `dev_err_probe()` doesn't do anything when error is `-ENOMEM`. Therefore, remove the useless call to `dev_err_probe()` when `devm_add_action_or_reset()` fails, and just return the value instead. Signed-off-by: Waqar Hameed <waqar.hameed@axis.com> Reviewed-by: Sven Peter <sven@kernel.org> Link: https://lore.kernel.org/r/pnd8qjym7td.a.out@axis.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions