kmalloc will print enough information in case of failure.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
        /* Starting in firmware 1.20, the RC info is provided on a bulk pipe */
 
        purb = usb_alloc_urb(0, GFP_KERNEL);
-       if (purb == NULL) {
-               err("rc usb alloc urb failed");
+       if (purb == NULL)
                return -ENOMEM;
-       }
 
        purb->transfer_buffer = kzalloc(RC_MSG_SIZE_V1_20, GFP_KERNEL);
        if (purb->transfer_buffer == NULL) {