]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/xhci.c
usb: host: xhci: don't print on ENOMEM
[karo-tx-linux.git] / drivers / usb / host / xhci.c
index 01d96c9b3a75b95b93da48ce9f250722d03d9483..1a4ca02729c274cb83762636e5556ca75e840144 100644 (file)
@@ -295,10 +295,8 @@ static int xhci_setup_msix(struct xhci_hcd *xhci)
        xhci->msix_entries =
                kmalloc((sizeof(struct msix_entry))*xhci->msix_count,
                                GFP_KERNEL);
-       if (!xhci->msix_entries) {
-               xhci_err(xhci, "Failed to allocate MSI-X entries\n");
+       if (!xhci->msix_entries)
                return -ENOMEM;
-       }
 
        for (i = 0; i < xhci->msix_count; i++) {
                xhci->msix_entries[i].entry = i;