[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180212113437.8953-1-sankhla.dileep96@gmail.com>
Date: Mon, 12 Feb 2018 17:04:27 +0530
From: Dileep Sankhla <sankhla.dileep96@...il.com>
To: Forest Bond <forest@...ttletooquiet.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Malcolm Priestley <tvboxspy@...il.com>,
Jitendra Kumar Khasdev <jkhasdev@...il.com>,
Dileep Sankhla <sankhla.dileep96@...il.com>,
Arushi Singhal <arushisinghal19971997@...il.com>,
Simon Sandström <simon@...anor.nu>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2] 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 <sankhla.dileep96@...il.com>
---
Change in v2:
- changed commit message
---
drivers/staging/vt6656/usbpipe.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index 273176386a51..5bbc56f8779e 100644
--- 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;
}
--
2.15.1
Powered by blists - more mailing lists