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>
This commit is contained in:
Wolfram Sang 2016-08-11 23:14:33 +02:00 committed by Greg Kroah-Hartman
parent 8ebbbf2e5d
commit 7ff56857e3
1 changed files with 1 additions and 3 deletions

View File

@ -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),