diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-01-08 21:07:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-09 00:40:46 (GMT) |
commit | 6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa (patch) | |
tree | 598fa39195c2081171e594cc42be93df0254b27c /drivers/misc/mei/init.c | |
parent | 781d0d89224bbbc438c2c0360cfd4822bb35d280 (diff) | |
download | linux-6222f7bf8d7e2b16ffcc14bcb2c32ea069aac9fa.tar.xz |
mei: move MEI_IAMTHIF_IDLE to amthif host init function
Since the amthif state is not examined until amthif is connected
we can safely move it to the amthif host init function
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c index 9e4011e..70fad4ea 100644 --- a/drivers/misc/mei/init.c +++ b/drivers/misc/mei/init.c @@ -68,7 +68,6 @@ struct mei_device *mei_device_init(struct pci_dev *pdev) init_waitqueue_head(&dev->wait_recvd_msg); init_waitqueue_head(&dev->wait_stop_wd); dev->dev_state = MEI_DEV_INITIALIZING; - dev->iamthif_state = MEI_IAMTHIF_IDLE; mei_io_list_init(&dev->read_list); mei_io_list_init(&dev->write_list); |