diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-10-21 09:30:34 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2015-10-23 07:31:51 +0300 |
commit | 4c8101993b9f88aebf2e900c8dcffddc0c0f39f9 (patch) | |
tree | 52f8d465240c347fc7d09817c4c1757224a85f0f | |
parent | a2e56436f129bc69d52b5e90ad11fa3c21e107ca (diff) | |
download | linux-4c8101993b9f88aebf2e900c8dcffddc0c0f39f9.tar.xz |
misc/bt-host: remove bt_host->ctrl
... nothing uses it.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | drivers/misc/bt-host.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/bt-host.c b/drivers/misc/bt-host.c index d90797da8af2..29f3104199e6 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); |