staging: vt6656: Remove unused variable 'rx_sts'
authorMartin Alonso <martin.alonso@zoho.com>
Tue, 27 Sep 2016 17:52:48 +0000 (14:52 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2016 09:35:52 +0000 (11:35 +0200)
As suggested by Joe Perches, rx_sts is not
used anywhere and could be removed.

Signed-off-by: Martin Alonso <martin.alonso@zoho.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/dpc.c

index c352c70b2cdb5fcbf1a04f15bbad07bf67cd8195..655f0002f8808a6d4527dd23f35987d8c014bda2 100644 (file)
@@ -46,7 +46,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
        __le64 *tsf_time;
        u32 frame_size;
        int ii, r;
-       u8 *rx_sts, *rx_rate, *sq, *sq_3;
+       u8 *rx_rate, *sq, *sq_3;
        u32 wbk_status;
        u8 *skb_data;
        u16 *pay_load_len;
@@ -75,7 +75,6 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
 
        skb_data = (u8 *)skb->data;
 
-       rx_sts = skb_data + 4;
        rx_rate = skb_data + 5;
 
        /* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */