mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 07:36:46 +07:00
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>
This commit is contained in:
parent
6b017b7d10
commit
ff7bbff3bc
@ -2865,10 +2865,8 @@ int wa_dti_start(struct wahc *wa)
|
||||
goto out;
|
||||
|
||||
wa->dti_urb = usb_alloc_urb(0, GFP_KERNEL);
|
||||
if (wa->dti_urb == NULL) {
|
||||
dev_err(dev, "Can't allocate DTI URB\n");
|
||||
if (wa->dti_urb == NULL)
|
||||
goto error_dti_urb_alloc;
|
||||
}
|
||||
usb_fill_bulk_urb(
|
||||
wa->dti_urb, wa->usb_dev,
|
||||
usb_rcvbulkpipe(wa->usb_dev, 0x80 | dti_epd->bEndpointAddress),
|
||||
|
Loading…
Reference in New Issue
Block a user