Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30f9b3fe authored by Martin Alonso's avatar Martin Alonso Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: Remove unused variable 'rx_sts'



As suggested by Joe Perches, rx_sts is not
used anywhere and could be removed.

Signed-off-by: default avatarMartin Alonso <martin.alonso@zoho.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4433459a
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
	__le64 *tsf_time;
	__le64 *tsf_time;
	u32 frame_size;
	u32 frame_size;
	int ii, r;
	int ii, r;
	u8 *rx_sts, *rx_rate, *sq, *sq_3;
	u8 *rx_rate, *sq, *sq_3;
	u32 wbk_status;
	u32 wbk_status;
	u8 *skb_data;
	u8 *skb_data;
	u16 *pay_load_len;
	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;
	skb_data = (u8 *)skb->data;


	rx_sts = skb_data + 4;
	rx_rate = skb_data + 5;
	rx_rate = skb_data + 5;


	/* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */
	/* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */