mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
usb: misc: uss720: 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
843ac1975d
commit
39acc8a843
@ -162,7 +162,6 @@ static struct uss720_async_request *submit_async_request(struct parport_uss720_p
|
||||
rq->urb = usb_alloc_urb(0, mem_flags);
|
||||
if (!rq->urb) {
|
||||
kref_put(&rq->ref_count, destroy_async);
|
||||
dev_err(&usbdev->dev, "submit_async_request out of memory\n");
|
||||
return NULL;
|
||||
}
|
||||
rq->dr = kmalloc(sizeof(*rq->dr), mem_flags);
|
||||
|
Loading…
Reference in New Issue
Block a user