diff options
| author | 2021-05-05 11:19:13 +0200 | |
|---|---|---|
| committer | 2021-05-13 16:57:17 +0200 | |
| commit | 303e8ebf5dcb802b016b2802825dbc7928f9a50a (patch) | |
| tree | 55c4326123a2e6ae457b9c08f919d6795c933d2d /drivers/usb/class/cdc-acm.c | |
| parent | tty: return void from tty_unregister_ldisc (diff) | |
| download | linux-dev-303e8ebf5dcb802b016b2802825dbc7928f9a50a.tar.xz linux-dev-303e8ebf5dcb802b016b2802825dbc7928f9a50a.zip | |
ti-st: use goto-failpath in st_core_init
Use the classic failpath handling using gotos in st_core_init. That way,
tty_unregister_ldisc needs not be repeated on two places.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210505091928.22010-21-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
