diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-12 00:14:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 16:54:25 +0300 |
commit | 7ff56857e352c0a2f1ecaf662dbe93e3434e9ada (patch) | |
tree | 2d8c37a012bbea364357318f01b841d2bdcb710f /drivers/usb/atm/ueagle-atm.c | |
parent | 8ebbbf2e5dc01599dcbf520463e9688e74133ad3 (diff) | |
download | linux-7ff56857e352c0a2f1ecaf662dbe93e3434e9ada.tar.xz |
usb: atm: ueagle-atm: 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/atm/ueagle-atm.c')
-rw-r--r-- | drivers/usb/atm/ueagle-atm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index 4333dc576a12..f198291630d7 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c @@ -2203,10 +2203,8 @@ static int uea_boot(struct uea_softc *sc) } sc->urb_int = usb_alloc_urb(0, GFP_KERNEL); - if (!sc->urb_int) { - uea_err(INS_TO_USBDEV(sc), "cannot allocate interrupt URB\n"); + if (!sc->urb_int) goto err1; - } usb_fill_int_urb(sc->urb_int, sc->usb_dev, usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE), |