aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/init.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-11-01 15:17:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-01 15:31:19 -0400
commitc7d3df354dcb7477900b29a1200744a8c976c03a (patch)
tree173ff046ddf47c3a20267d052f5d15ea08ffb2dd /drivers/misc/mei/init.c
parent15ea19105bdeef36820ade6754b9b7f1e3511e98 (diff)
mei: use internal watchdog device registration tracking
remove bool wd_interface_reg as watchdog device already keeps track of its registration Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/init.c')
-rw-r--r--drivers/misc/mei/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c
index 4a8eb920f7fb..8c3c2689f70c 100644
--- a/drivers/misc/mei/init.c
+++ b/drivers/misc/mei/init.c
@@ -111,8 +111,6 @@ struct mei_device *mei_device_init(struct pci_dev *pdev)
111 init_waitqueue_head(&dev->wait_stop_wd); 111 init_waitqueue_head(&dev->wait_stop_wd);
112 dev->dev_state = MEI_DEV_INITIALIZING; 112 dev->dev_state = MEI_DEV_INITIALIZING;
113 dev->iamthif_state = MEI_IAMTHIF_IDLE; 113 dev->iamthif_state = MEI_IAMTHIF_IDLE;
114 dev->wd_interface_reg = false;
115
116 114
117 mei_io_list_init(&dev->read_list); 115 mei_io_list_init(&dev->read_list);
118 mei_io_list_init(&dev->write_list); 116 mei_io_list_init(&dev->write_list);