projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ab45a
)
staging: vt6656: Remove unnecessary 'out of memory' message
author
Dileep Sankhla
<
[email protected]
>
Mon, 12 Feb 2018 11:34:27 +0000
(17:04 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 16 Feb 2018 14:41:27 +0000
(15:41 +0100)
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]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/vt6656/usbpipe.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/usbpipe.c
b/drivers/staging/vt6656/usbpipe.c
index 273176386a51af01382330fa1463bc37e6c86d32..5bbc56f8779ee392bea9b9859275bf8bccccfe82 100644
(file)
--- a/
drivers/staging/vt6656/usbpipe.c
+++ b/
drivers/staging/vt6656/usbpipe.c
@@
-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;
}