diff options
| author | Lucas De Marchi <ldemarchi@nvidia.com> | 2026-08-06 17:21:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-08-14 10:26:41 +0900 |
| commit | d4dd5d43fadf6953e2527de02d090c50de6e0fd4 (patch) | |
| tree | 58eab8dd8b4d26d56e590261f1b3899de071fdc4 /include/linux/debugobjects.h | |
| parent | 25b8dfc13495a6c1cf4abacc8ef20196c7f20e5c (diff) | |
xhci: dbgtty: Drop extra call to idr_destroy()
idr_destroy() is already called on error paths in dbc_tty_init(). Do not
call it again on exit. For symmetry with the init side, also use
IS_ERR_OR_NULL() to gate the exit steps.
Signed-off-by: Lucas De Marchi <ldemarchi@nvidia.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://patch.msgid.link/20260806142113.2436238-10-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
