Sfoglia il codice sorgente

media: usb: pwc: pwc-if: 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 anni fa
parent
commit
0ecf16674d
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      drivers/media/usb/pwc/pwc-if.c

+ 0 - 1
drivers/media/usb/pwc/pwc-if.c

@@ -410,7 +410,6 @@ retry:
 	for (i = 0; i < MAX_ISO_BUFS; i++) {
 		urb = usb_alloc_urb(ISO_FRAMES_PER_DESC, GFP_KERNEL);
 		if (urb == NULL) {
-			PWC_ERROR("Failed to allocate urb %d\n", i);
 			pwc_isoc_cleanup(pdev);
 			return -ENOMEM;
 		}