USB: serial: kl5kusb105: clean up line-status handling
authorJohan Hovold <johan@kernel.org>
Tue, 21 Sep 2021 13:30:07 +0000 (15:30 +0200)
committerJohan Hovold <johan@kernel.org>
Wed, 22 Sep 2021 07:32:51 +0000 (09:32 +0200)
commita692d0e6066c9377699b88fc0555d719519e6fb0
treecbee8acb88e2d361accc2bfca728e93b0e602465
parent71b20b34afc2e709f3bbce516fbfdd9f042b607a
USB: serial: kl5kusb105: clean up line-status handling

Clean up the line-status handling by dropping redundant initialisations
and returning early on errors.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/kl5kusb105.c