Commit 764c065a authored by Alexander Usyskin's avatar Alexander Usyskin Committed by Greg Kroah-Hartman

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: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a01e974
...@@ -126,7 +126,6 @@ static void mei_me_cl_remove_all(struct mei_device *dev) ...@@ -126,7 +126,6 @@ static void mei_me_cl_remove_all(struct mei_device *dev)
*/ */
void mei_hbm_reset(struct mei_device *dev) void mei_hbm_reset(struct mei_device *dev)
{ {
dev->me_client_presentation_num = 0;
dev->me_client_index = 0; dev->me_client_index = 0;
mei_me_cl_remove_all(dev); mei_me_cl_remove_all(dev);
...@@ -883,7 +882,6 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr) ...@@ -883,7 +882,6 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
mei_hbm_me_cl_add(dev, props_res); mei_hbm_me_cl_add(dev, props_res);
dev->me_client_index++; dev->me_client_index++;
dev->me_client_presentation_num++;
/* request property for the next client */ /* request property for the next client */
if (mei_hbm_prop_req(dev)) if (mei_hbm_prop_req(dev))
......
...@@ -470,7 +470,6 @@ struct mei_device { ...@@ -470,7 +470,6 @@ struct mei_device {
struct list_head me_clients; struct list_head me_clients;
DECLARE_BITMAP(me_clients_map, MEI_CLIENTS_MAX); DECLARE_BITMAP(me_clients_map, MEI_CLIENTS_MAX);
DECLARE_BITMAP(host_clients_map, MEI_CLIENTS_MAX); DECLARE_BITMAP(host_clients_map, MEI_CLIENTS_MAX);
unsigned long me_client_presentation_num;
unsigned long me_client_index; unsigned long me_client_index;
struct mei_cl wd_cl; struct mei_cl wd_cl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment