提交 7ff56857 编写于 作者: W Wolfram Sang 提交者: Greg Kroah-Hartman

usb: atm: ueagle-atm: don't print error when allocating urb fails

kmalloc will print enough information in case of failure.
Signed-off-by: NWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8ebbbf2e
...@@ -2203,10 +2203,8 @@ static int uea_boot(struct uea_softc *sc) ...@@ -2203,10 +2203,8 @@ static int uea_boot(struct uea_softc *sc)
} }
sc->urb_int = usb_alloc_urb(0, GFP_KERNEL); sc->urb_int = usb_alloc_urb(0, GFP_KERNEL);
if (!sc->urb_int) { if (!sc->urb_int)
uea_err(INS_TO_USBDEV(sc), "cannot allocate interrupt URB\n");
goto err1; goto err1;
}
usb_fill_int_urb(sc->urb_int, sc->usb_dev, usb_fill_int_urb(sc->urb_int, sc->usb_dev,
usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE), usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册