Browse Source

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>
Wolfram Sang 9 years ago
parent
commit
7ff56857e3
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/usb/atm/ueagle-atm.c

+ 1 - 3
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),