staging: vt6656: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning
PATCH 1/1 staging: vt6656: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning
Signed-off-by Dileep Sankhla <[email protected]>
--- drivers/staging/vt6656/usbpipe.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/vt6656/usbpipe.c +0 -3
@@ -194,9 +194,6 @@ static void vnt_submit_rx_urb_complete(struct urb *urb)if (vnt_rx_data (priv, rcb, urb->actual_length)) { rcb->skb =dev_alloc_skb (priv->rx_buf_sz);if (!rcb->skb) { -dev_dbg (&priv->usb->dev, -"Failed to re-alloc rx skb\n" ); - rcb->in_use = false;return ; }
Signature · 1 line
2.15.1
Quoted 1 line · Dileep Sankhla
Signed-off-by Dileep Sankhla <[email protected]>
The subject is too long and you need to have a changelog.
regards,
dan carpenter
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH v2 1/1 staging: vt6656: Remove unnecessary 'out of memory' message
This patch removes the unnecessary out of memory message fixing the following checkpatch.pl warning in usbpipe.c:
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by Dileep Sankhla <[email protected]>
---
Change in v2:
- changed commit message
--- drivers/staging/vt6656/usbpipe.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/vt6656/usbpipe.c +0 -3
@@ -194,9 +194,6 @@ static void vnt_submit_rx_urb_complete(struct urb *urb)if (vnt_rx_data (priv, rcb, urb->actual_length)) { rcb->skb =dev_alloc_skb (priv->rx_buf_sz);if (!rcb->skb) { -dev_dbg (&priv->usb->dev, -"Failed to re-alloc rx skb\n" ); - rcb->in_use = false;return ; }
Signature · 6 lines
2.15.1 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel