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 f08f7dee3a53963b797711b10f01a84cbb971836..ad43c6f931c2b9970e71d3e59a8b2cb6612dff6a 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 59e508c648abe3d5ceb0e626ce9eaba244a7a11f..d994b1b093ab87133adf751e86369923208eda43 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;