aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 17:14:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 09:54:25 -0400
commit7ff56857e352c0a2f1ecaf662dbe93e3434e9ada (patch)
tree2d8c37a012bbea364357318f01b841d2bdcb710f
parent8ebbbf2e5dc01599dcbf520463e9688e74133ad3 (diff)
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>
-rw-r--r--drivers/usb/atm/ueagle-atm.c4
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)
2203 } 2203 }
2204 2204
2205 sc->urb_int = usb_alloc_urb(0, GFP_KERNEL); 2205 sc->urb_int = usb_alloc_urb(0, GFP_KERNEL);
2206 if (!sc->urb_int) { 2206 if (!sc->urb_int)
2207 uea_err(INS_TO_USBDEV(sc), "cannot allocate interrupt URB\n");
2208 goto err1; 2207 goto err1;
2209 }
2210 2208
2211 usb_fill_int_urb(sc->urb_int, sc->usb_dev, 2209 usb_fill_int_urb(sc->urb_int, sc->usb_dev,
2212 usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE), 2210 usb_rcvintpipe(sc->usb_dev, UEA_INTR_PIPE),