aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei')
-rw-r--r--drivers/misc/mei/hbm.c2
-rw-r--r--drivers/misc/mei/mei_dev.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
index c874fdd44ce1..92d0739cca85 100644
--- a/drivers/misc/mei/hbm.c
+++ b/drivers/misc/mei/hbm.c
@@ -126,7 +126,6 @@ static void mei_me_cl_remove_all(struct mei_device *dev)
126 */ 126 */
127void mei_hbm_reset(struct mei_device *dev) 127void mei_hbm_reset(struct mei_device *dev)
128{ 128{
129 dev->me_client_presentation_num = 0;
130 dev->me_client_index = 0; 129 dev->me_client_index = 0;
131 130
132 mei_me_cl_remove_all(dev); 131 mei_me_cl_remove_all(dev);
@@ -883,7 +882,6 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
883 mei_hbm_me_cl_add(dev, props_res); 882 mei_hbm_me_cl_add(dev, props_res);
884 883
885 dev->me_client_index++; 884 dev->me_client_index++;
886 dev->me_client_presentation_num++;
887 885
888 /* request property for the next client */ 886 /* request property for the next client */
889 if (mei_hbm_prop_req(dev)) 887 if (mei_hbm_prop_req(dev))
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index fed4c96da0fa..0a1f2b735706 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -470,7 +470,6 @@ struct mei_device {
470 struct list_head me_clients; 470 struct list_head me_clients;
471 DECLARE_BITMAP(me_clients_map, MEI_CLIENTS_MAX); 471 DECLARE_BITMAP(me_clients_map, MEI_CLIENTS_MAX);
472 DECLARE_BITMAP(host_clients_map, MEI_CLIENTS_MAX); 472 DECLARE_BITMAP(host_clients_map, MEI_CLIENTS_MAX);
473 unsigned long me_client_presentation_num;
474 unsigned long me_client_index; 473 unsigned long me_client_index;
475 474
476 struct mei_cl wd_cl; 475 struct mei_cl wd_cl;