2012-10-01 13:15:15

by Rami Rosen

[permalink] [raw]
Subject: [PATCH BlueZ] bluetooth: remove unused member of hci_dev.

This patch removes core_data member from hci_dev struct as it is unused.
Signed-off-by: Rami Rosen <[email protected]>
---
include/net/bluetooth/hci_core.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index ea1f934..90ae4f0 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -262,8 +262,6 @@ struct hci_dev {

struct sk_buff_head driver_init;

- void *core_data;
-
atomic_t promisc;

struct dentry *debugfs;
--
1.7.11.4


2012-10-01 14:52:11

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH BlueZ] bluetooth: remove unused member of hci_dev.

Hi Rami,

> This patch removes core_data member from hci_dev struct as it is unused.

I rather have an empty line between the commit message and the signed
off by line.

Other than that, good catch. I looked through the history and it seems
to be leftover from the BlueZ 1.0 days.

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

Acked-by: Marcel Holtmann <[email protected]>

Regards

Marcel