2014-04-01 14:56:17

by Loic Poulain

[permalink] [raw]
Subject: [PATCH] Bluetooth: Remove hci_h4 unused defines

H4 states are not used anymore.

Signed-off-by: Loic Poulain <[email protected]>
---
drivers/bluetooth/hci_h4.c | 7 -------
1 file changed, 7 deletions(-)

diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c
index 7048a58..66db9a8 100644
--- a/drivers/bluetooth/hci_h4.c
+++ b/drivers/bluetooth/hci_h4.c
@@ -55,13 +55,6 @@ struct h4_struct {
struct sk_buff_head txq;
};
=

-/* H4 receiver States */
-#define H4_W4_PACKET_TYPE 0
-#define H4_W4_EVENT_HDR 1
-#define H4_W4_ACL_HDR 2
-#define H4_W4_SCO_HDR 3
-#define H4_W4_DATA 4
-
/* Initialize protocol */
static int h4_open(struct hci_uart *hu)
{
-- =

1.8.3.2
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, =

92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


2014-04-23 17:31:17

by Gustavo Padovan

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Remove hci_h4 unused defines

Hi Loic,

2014-04-01 Poulain, Loic <[email protected]>:

> H4 states are not used anymore.
>
> Signed-off-by: Loic Poulain <[email protected]>
> ---
> drivers/bluetooth/hci_h4.c | 7 -------
> 1 file changed, 7 deletions(-)

Patch has been applied to bluetooth-next. Thanks.

Gustavo