]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/serial/ti_usb_3410_5052.c
[PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL
[linux-2.6-omap-h63xx.git] / drivers / usb / serial / ti_usb_3410_5052.c
index 98054876cca25f8c9fea8d9201e2e1d921dbd5e8..59c88de3e7ae337459ea7cea7262639fe28d5e5e 100644 (file)
@@ -517,8 +517,7 @@ static void ti_shutdown(struct usb_serial *serial)
                }
        }
 
-       if (tdev)
-               kfree(tdev);
+       kfree(tdev);
        usb_set_serial_data(serial, NULL);
 }