diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-12 00:14:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 16:54:27 +0300 |
commit | 39acc8a843c3ffee8e3c6d726c83c02f4dc291b8 (patch) | |
tree | df2a50cebf50ad4b579d6e24e00e5815e6bc6eed /drivers/usb/misc | |
parent | 843ac1975d146c1e247b5cc87f79ccb90814619b (diff) | |
download | linux-39acc8a843c3ffee8e3c6d726c83c02f4dc291b8.tar.xz |
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>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/uss720.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c index bbd029c9c725..256d02da444d 100644 --- a/drivers/usb/misc/uss720.c +++ b/drivers/usb/misc/uss720.c @@ -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); |