Loading drivers/net/usb/usbnet.c +1 −4 Original line number Original line Diff line number Diff line Loading @@ -2062,11 +2062,8 @@ int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, cmd, reqtype, value, index, size); cmd, reqtype, value, index, size); urb = usb_alloc_urb(0, GFP_ATOMIC); urb = usb_alloc_urb(0, GFP_ATOMIC); if (!urb) { if (!urb) netdev_err(dev->net, "Error allocating URB in" " %s!\n", __func__); goto fail; goto fail; } if (data) { if (data) { buf = kmemdup(data, size, GFP_ATOMIC); buf = kmemdup(data, size, GFP_ATOMIC); Loading Loading
drivers/net/usb/usbnet.c +1 −4 Original line number Original line Diff line number Diff line Loading @@ -2062,11 +2062,8 @@ int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, cmd, reqtype, value, index, size); cmd, reqtype, value, index, size); urb = usb_alloc_urb(0, GFP_ATOMIC); urb = usb_alloc_urb(0, GFP_ATOMIC); if (!urb) { if (!urb) netdev_err(dev->net, "Error allocating URB in" " %s!\n", __func__); goto fail; goto fail; } if (data) { if (data) { buf = kmemdup(data, size, GFP_ATOMIC); buf = kmemdup(data, size, GFP_ATOMIC); Loading