media: usb: as102: as102_usb_drv: 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:
Родитель
05476e6469
Коммит
0f578d7cc6
|
@ -270,8 +270,6 @@ static int as102_alloc_usb_stream_buffer(struct as102_dev_t *dev)
|
||||||
|
|
||||||
urb = usb_alloc_urb(0, GFP_ATOMIC);
|
urb = usb_alloc_urb(0, GFP_ATOMIC);
|
||||||
if (urb == NULL) {
|
if (urb == NULL) {
|
||||||
dev_dbg(&dev->bus_adap.usb_dev->dev,
|
|
||||||
"%s: usb_alloc_urb failed\n", __func__);
|
|
||||||
as102_free_usb_stream_buffer(dev);
|
as102_free_usb_stream_buffer(dev);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче