Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git] / drivers / net / usb / usbnet.c
index 3bfb592..d5071e3 100644 (file)
@@ -2062,11 +2062,8 @@ int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype,
                   cmd, reqtype, value, index, size);
 
        urb = usb_alloc_urb(0, GFP_ATOMIC);
-       if (!urb) {
-               netdev_err(dev->net, "Error allocating URB in"
-                          " %s!\n", __func__);
+       if (!urb)
                goto fail;
-       }
 
        if (data) {
                buf = kmemdup(data, size, GFP_ATOMIC);