[PATCH linux 12/13] misc/bt-host: remove bt_host->ctrl

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


From: Jeremy Kerr <jk at ozlabs.org>

... nothing uses it.

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

diff --git a/drivers/misc/bt-host.c b/drivers/misc/bt-host.c
index d90797d..29f3104 100644
--- a/drivers/misc/bt-host.c
+++ b/drivers/misc/bt-host.c
@@ -51,7 +51,6 @@ struct bt_host {
 	void			*base;
 	int			open_count;
 	wait_queue_head_t	queue;
-	unsigned int		ctrl;
 	struct timer_list	poll_timer;
 };
 
@@ -247,7 +246,6 @@ static const struct file_operations bt_host_fops = {
 static void poll_timer(unsigned long data)
 {
 	struct bt_host *bt_host = (void *)data;
-	bt_host->ctrl = bt_inb(bt_host, BT_CTRL);
 	bt_host->poll_timer.expires += msecs_to_jiffies(500);
 	wake_up(&bt_host->queue);
 	add_timer(&bt_host->poll_timer);
-- 
2.6.0




More information about the openbmc mailing list