USB: serial: ti_usb_3410_5052: remove useless NULL-testing
authorMathieu OTHACEHE <m.othacehe@gmail.com>
Tue, 26 Jul 2016 17:59:44 +0000 (19:59 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 23 Aug 2016 08:07:47 +0000 (10:07 +0200)
commit98ba0853e7c8266fe48490d466c88d68121a0917
tree00ae0d4b4d6f6196f226c8bad199c249eeb4a9a2
parent14e3c97c2db8735b5304379dd4e6cfe1d68a7a49
USB: serial: ti_usb_3410_5052: remove useless NULL-testing

It is useless to check the return of usb_get_serial_port_data in the tty
and tty-port callbacks.

No need to check interface private data in close() either.

Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ti_usb_3410_5052.c