diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-09-29 09:31:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:56:02 -0400 |
commit | 764c065a65c31a09340e71d2c41652e7e05bf083 (patch) | |
tree | e7c4511dd30a9bbfcf74ad6bb5d4b08ff0dc6a27 /drivers/misc | |
parent | 0a01e97432a6ee5c5b78c0425dd7518a80f87b54 (diff) |
mei: drop me_client_presentation_num
me_client_presentation_num field is not used for any
particular purpose now, so it can be safely dropped.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mei/hbm.c | 2 | ||||
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 1 |
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 | */ |
127 | void mei_hbm_reset(struct mei_device *dev) | 127 | void 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; |