Skip to content

Commit

Permalink
mei: drop me_client_presentation_num
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Usyskin authored and Greg Kroah-Hartman committed Sep 29, 2014
1 parent 0a01e97 commit 764c065
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/misc/mei/hbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ static void mei_me_cl_remove_all(struct mei_device *dev)
*/
void mei_hbm_reset(struct mei_device *dev)
{
dev->me_client_presentation_num = 0;
dev->me_client_index = 0;

mei_me_cl_remove_all(dev);
Expand Down Expand Up @@ -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);

dev->me_client_index++;
dev->me_client_presentation_num++;

/* request property for the next client */
if (mei_hbm_prop_req(dev))
Expand Down
1 change: 0 additions & 1 deletion drivers/misc/mei/mei_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ struct mei_device {
struct list_head me_clients;
DECLARE_BITMAP(me_clients_map, MEI_CLIENTS_MAX);
DECLARE_BITMAP(host_clients_map, MEI_CLIENTS_MAX);
unsigned long me_client_presentation_num;
unsigned long me_client_index;

struct mei_cl wd_cl;
Expand Down

0 comments on commit 764c065

Please sign in to comment.