You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
usb: atm: cxacru: 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:
committed by
Greg Kroah-Hartman
parent
c6a4c9fcfd
commit
8ebbbf2e5d
@@ -1168,13 +1168,11 @@ static int cxacru_bind(struct usbatm_data *usbatm_instance,
|
||||
}
|
||||
instance->rcv_urb = usb_alloc_urb(0, GFP_KERNEL);
|
||||
if (!instance->rcv_urb) {
|
||||
usb_dbg(usbatm_instance, "cxacru_bind: no memory for rcv_urb\n");
|
||||
ret = -ENOMEM;
|
||||
goto fail;
|
||||
}
|
||||
instance->snd_urb = usb_alloc_urb(0, GFP_KERNEL);
|
||||
if (!instance->snd_urb) {
|
||||
usb_dbg(usbatm_instance, "cxacru_bind: no memory for snd_urb\n");
|
||||
ret = -ENOMEM;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user