staging: vt6656: struct vnt_rcb remove unused members
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 18 Jul 2014 05:36:10 +0000 (06:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:06:23 +0000 (16:06 -0700)
Remove Next and Ref

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/usbpipe.c

index f08f7de..ad43c6f 100644 (file)
@@ -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;
index 59e508c..d994b1b 100644 (file)
@@ -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;