Merge remote-tracking branch 'usb/usb-next'
[deliverable/linux.git] / drivers / usb / host / uhci-hcd.c
index a7de8e8bb4582bbee1e411a136a3223efcb9ac59..5d3d914ab4fb441f78ab3e5fae799453fb2ec014 100644 (file)
@@ -601,11 +601,8 @@ static int uhci_start(struct usb_hcd *hcd)
 
        uhci->frame_cpu = kcalloc(UHCI_NUMFRAMES, sizeof(*uhci->frame_cpu),
                        GFP_KERNEL);
-       if (!uhci->frame_cpu) {
-               dev_err(uhci_dev(uhci),
-                       "unable to allocate memory for frame pointers\n");
+       if (!uhci->frame_cpu)
                goto err_alloc_frame_cpu;
-       }
 
        uhci->td_pool = dma_pool_create("uhci_td", uhci_dev(uhci),
                        sizeof(struct uhci_td), 16, 0);
This page took 0.04257 seconds and 5 git commands to generate.