diff options
author | Jiri Slaby <[email protected]> | 2021-03-02 07:22:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 09:34:09 +0100 |
commit | 6c2e6317c975c3cef1e08482a6ed8b734831ffbe (patch) | |
tree | 9229d440c0a9f38bbdbe6a94a3ab1c856d08ddde /lib/mpi/mpi-sub-ui.c | |
parent | ba444ea3bc9377c0445990da1ce7d5eb33b099d8 (diff) |
tty: do not check tty_unregister_driver's return value
These drivers check tty_unregister_driver return value. But they don't
handle a failure correctly (they free the driver in any case). So stop
checking tty_unregister_driver return value and remove also the prints.
In the next patch, tty_unregister_driver's return type will be switched
to void.
Cc: Chris Zankel <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: [email protected]
Cc: Jiri Kosina <[email protected]>
Cc: David Sterba <[email protected]>
Reviewed-by: Max Filippov <[email protected]>
Acked-by: David Sterba <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions