From 23dbf877b10b62a143fefc95e85ee949ea0a667c Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Fri, 18 Jul 2014 06:36:10 +0100 Subject: [PATCH] staging: vt6656: struct vnt_rcb remove unused members Remove Next and Ref Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/device.h | 2 -- drivers/staging/vt6656/usbpipe.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index f08f7dee3a53..ad43c6f931c2 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -219,8 +219,6 @@ enum { /* RCB (Receive Control Block) */ struct vnt_rcb { - void *Next; - signed long Ref; void *pDevice; struct urb *pUrb; struct sk_buff *skb; diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 59e508c648ab..d994b1b093ab 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -207,7 +207,6 @@ int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) return STATUS_FAILURE ; } - rcb->Ref = 1; rcb->bBoolInUse = true; return status; -- 2.30.2