diff options
| author | Mathieu OTHACEHE <[email protected]> | 2016-07-26 17:59:44 +0000 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2016-08-23 08:07:47 +0000 |
| commit | 98ba0853e7c8266fe48490d466c88d68121a0917 (patch) | |
| tree | 00ae0d4b4d6f6196f226c8bad199c249eeb4a9a2 /drivers/usb/class/cdc-acm.c | |
| parent | USB: serial: ti_usb_3410_5052: remove useless dev_dbg messages (diff) | |
| download | kernel-98ba0853e7c8266fe48490d466c88d68121a0917.tar.gz kernel-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 <[email protected]>
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
