Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: wusbcore: wa-xfer: don't print error when allocating urb fails

kmalloc will print enough information in case of failure.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Wolfram Sang and committed by
Greg Kroah-Hartman
ff7bbff3 6b017b7d

+1 -3
+1 -3
drivers/usb/wusbcore/wa-xfer.c
··· 2865 2865 goto out; 2866 2866 2867 2867 wa->dti_urb = usb_alloc_urb(0, GFP_KERNEL); 2868 - if (wa->dti_urb == NULL) { 2869 - dev_err(dev, "Can't allocate DTI URB\n"); 2868 + if (wa->dti_urb == NULL) 2870 2869 goto error_dti_urb_alloc; 2871 - } 2872 2870 usb_fill_bulk_urb( 2873 2871 wa->dti_urb, wa->usb_dev, 2874 2872 usb_rcvbulkpipe(wa->usb_dev, 0x80 | dti_epd->bEndpointAddress),