diff options
author | Dileep Sankhla <sankhla.dileep96@gmail.com> | 2018-02-12 17:04:27 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 15:41:27 +0100 |
commit | b79f3f68cc306637b88072804396685dc037c779 (patch) | |
tree | 2e17ec778ec594a85451f5ea8ffab759316a3d56 /drivers/staging/vt6656 | |
parent | 77ab45a420df79d227da8b45c75f5d734b99b6b0 (diff) |
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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 3 |
1 files changed, 0 insertions, 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; } |