Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Martin Alonso <martin.alonso@zoho.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Martin Alonso and committed by
Greg Kroah-Hartman
30f9b3fe 4433459a

+1 -2
+1 -2
drivers/staging/vt6656/dpc.c
··· 46 46 __le64 *tsf_time; 47 47 u32 frame_size; 48 48 int ii, r; 49 - u8 *rx_sts, *rx_rate, *sq, *sq_3; 49 + u8 *rx_rate, *sq, *sq_3; 50 50 u32 wbk_status; 51 51 u8 *skb_data; 52 52 u16 *pay_load_len; ··· 75 75 76 76 skb_data = (u8 *)skb->data; 77 77 78 - rx_sts = skb_data + 4; 79 78 rx_rate = skb_data + 5; 80 79 81 80 /* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */