Bluetooth: hci_uart: Remove unused h4->rx_state and h4->rx_count field
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: hci_uart: Remove unused h4->rx_state and h4->rx_count field
The fields h4->rx_state and h4->rx_count are not used at all and with that they can be just removed.
Signed-off-by Marcel Holtmann <[email protected]>
--- drivers/bluetooth/hci_h4.c | 2 -- 1 file changed, 2 deletions(-)
drivers/bluetooth/hci_h4.c +0 -2
@@ -49,8 +49,6 @@#define VERSION "1.2"struct h4_struct { -unsigned long rx_state; -unsigned long rx_count;struct sk_buff_head txq; };
Signature · 1 line
2.1.0
Johan Hedberg
AppliedHi Marcel,
Quoted 7 lines · Marcel Holtmann
The fields
h4->rx_stateandh4->rx_countare not used at all and with that they can be just removed.Signed-off-by Marcel Holtmann <[email protected]>--- drivers/bluetooth/hci_h4.c | 2 -- 1 file changed, 2 deletions(-)
Applied to bluetooth-next. Thanks.
Johan