From: Malcolm Priestley Date: Fri, 18 Jul 2014 05:36:10 +0000 (+0100) Subject: staging: vt6656: struct vnt_rcb remove unused members X-Git-Tag: v3.17-rc1~123^2~506 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=23dbf877b10b62a143fefc95e85ee949ea0a667c;p=karo-tx-linux.git staging: vt6656: struct vnt_rcb remove unused members Remove Next and Ref Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- 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;