diff options
| author | Waqar Hameed <waqar.hameed@axis.com> | 2025-08-05 11:33:37 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-13 16:55:36 +0200 |
| commit | 4b58e0638c4b0f4b80c87b1c711b065eca559551 (patch) | |
| tree | 67ef862f9feb9af4d7cb113190e4b50983fab6ac /scripts/lib/kdoc/kdoc_parser.py | |
| parent | b12daf363f3d4ded1c12d01ab7c45b6179c586ab (diff) | |
usb: misc: eud: Remove error print 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: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/pndo6sukt8u.a.out@axis.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
