diff options
Diffstat (limited to 'drivers/usb/serial/ti_usb_3410_5052.c')
-rw-r--r-- | drivers/usb/serial/ti_usb_3410_5052.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 98054876cca2..59c88de3e7ae 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -517,8 +517,7 @@ static void ti_shutdown(struct usb_serial *serial) | |||
517 | } | 517 | } |
518 | } | 518 | } |
519 | 519 | ||
520 | if (tdev) | 520 | kfree(tdev); |
521 | kfree(tdev); | ||
522 | usb_set_serial_data(serial, NULL); | 521 | usb_set_serial_data(serial, NULL); |
523 | } | 522 | } |
524 | 523 | ||