]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ehci-mem.c
[PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ehci-mem.c
index 9938697ff361372e62814f45f48d4393566147ac..5c38ad869485e8870f20d1834f78eb264cbe8104 100644 (file)
@@ -156,8 +156,7 @@ static void ehci_mem_cleanup (struct ehci_hcd *ehci)
        ehci->periodic = NULL;
 
        /* shadow periodic table */
-       if (ehci->pshadow)
-               kfree (ehci->pshadow);
+       kfree(ehci->pshadow);
        ehci->pshadow = NULL;
 }