Skip to contentSkip to conversation

Bluetooth: hci_uart: Remove unused h4->rx_state and h4->rx_count field

PATCH Applied Marcel Holtmann 2 participants 2 messages Apr 5, 2015 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 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.

---
 drivers/bluetooth/hci_h4.c | 2 --
 1 file changed, 2 deletions(-)
drivers/bluetooth/hci_h4.c +0 -2
index 3ea8f0886ed1..0d9ba07d2730 100644
@@ -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
#1 lore raw

Hi Marcel,

Quoted 7 lines · Marcel Holtmann

The fields h4->rx_state and h4->rx_count are not used at all and with that they can be just removed.

---
 drivers/bluetooth/hci_h4.c | 2 --
 1 file changed, 2 deletions(-)

Applied to bluetooth-next. Thanks.

Johan