diff options
| author | Mathieu OTHACEHE <m.othacehe@gmail.com> | 2016-07-26 19:59:44 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2016-08-23 10:07:47 +0200 |
| commit | 98ba0853e7c8266fe48490d466c88d68121a0917 (patch) | |
| tree | 00ae0d4b4d6f6196f226c8bad199c249eeb4a9a2 /drivers/usb/core/config.c | |
| parent | 14e3c97c2db8735b5304379dd4e6cfe1d68a7a49 (diff) | |
| download | linux-98ba0853e7c8266fe48490d466c88d68121a0917.tar.gz linux-98ba0853e7c8266fe48490d466c88d68121a0917.tar.bz2 linux-98ba0853e7c8266fe48490d466c88d68121a0917.zip | |
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>
Diffstat (limited to 'drivers/usb/core/config.c')
0 files changed, 0 insertions, 0 deletions
