On Tue, Mar 02, 2021 at 07:22:04AM +0100, Jiri Slaby wrote: > 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. > > Signed-off-by: Jiri Slaby <jsl...@suse.cz> > Cc: Chris Zankel <ch...@zankel.net> > Cc: Max Filippov <jcmvb...@gmail.com> > Cc: linux-xte...@linux-xtensa.org > Cc: Jiri Kosina <ji...@kernel.org> > Cc: David Sterba <dste...@suse.com> > ---
For > drivers/tty/ipwireless/tty.c | 7 +------ Acked-by: David Sterba <dste...@suse.com> Thanks.