[PATCH linux 02/13] misc/bt-host: remove unused members of struct bt_host

OpenBMC Patches patches at stwcx.xyz
Fri Oct 23 04:59:02 AEDT 2015


From: Jeremy Kerr <jk at ozlabs.org>

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
---
 drivers/misc/bt-host.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/misc/bt-host.c b/drivers/misc/bt-host.c
index 395c28f..46e4341 100644
--- a/drivers/misc/bt-host.c
+++ b/drivers/misc/bt-host.c
@@ -9,7 +9,6 @@
 #include <linux/device.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
-#include <linux/cdev.h>
 #include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/miscdevice.h>
@@ -50,9 +49,7 @@ dev_t bt_host_devt;
 
 struct bt_host {
 	struct device dev;
-	struct cdev cdev;
 	void *base;
-	int open_count;
 	wait_queue_head_t queue;
 	unsigned int ctrl;
 	struct timer_list poll_timer;
-- 
2.6.0




More information about the openbmc mailing list