From 764c065a65c31a09340e71d2c41652e7e05bf083 Mon Sep 17 00:00:00 2001 From: Alexander Usyskin Date: Mon, 29 Sep 2014 16:31:48 +0300 Subject: 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 Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/hbm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/misc/mei/hbm.c') diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c index c874fdd44ce..92d0739cca8 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) */ 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); @@ -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)) -- cgit v1.2.3-70-g09d2