2012-07-19 14:46:13

by Andre Guedes

[permalink] [raw]
Subject: [PATCH] Bluetooth: Remove missing code

This patch removes the struct adv_entry since it is not used anymore.
This struct should have been removed in commit 479453d (Bluetooth:
Remove advertising cache).

Signed-off-by: Andre Guedes <[email protected]>
---
include/net/bluetooth/hci_core.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 475b8c0..41b2664 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -115,12 +115,6 @@ struct oob_data {
u8 randomizer[16];
};

-struct adv_entry {
- struct list_head list;
- bdaddr_t bdaddr;
- u8 bdaddr_type;
-};
-
struct le_scan_params {
u8 type;
u16 interval;
--
1.7.11.2



2012-07-19 15:29:28

by Gustavo Padovan

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Remove missing code

Hi Andre,

* Andre Guedes <[email protected]> [2012-07-19 11:46:13 -0300]:

> This patch removes the struct adv_entry since it is not used anymore.
> This struct should have been removed in commit 479453d (Bluetooth:
> Remove advertising cache).
>
> Signed-off-by: Andre Guedes <[email protected]>
> ---
> include/net/bluetooth/hci_core.h | 6 ------
> 1 file changed, 6 deletions(-)

Patch has been applied to bluetooth-next. Thanks.

Gustavo