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:
parent
8ebbbf2e5d
commit
7ff56857e3
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue