mei: replace callback structures used as list head by list_head
mei_dev structure used struct mei_cl_cb type variables as for holding callbacks list heads. Replace them by the actual struct list_head as there is no other info that is handled. This slims down the mei_dev structure and mostly streamline the code. 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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
9ecdbc58f9
commit
962ff7bcec
@@ -815,7 +815,7 @@ static void mei_hbm_cl_res(struct mei_device *dev,
|
||||
struct mei_cl_cb *cb, *next;
|
||||
|
||||
cl = NULL;
|
||||
list_for_each_entry_safe(cb, next, &dev->ctrl_rd_list.list, list) {
|
||||
list_for_each_entry_safe(cb, next, &dev->ctrl_rd_list, list) {
|
||||
|
||||
cl = cb->cl;
|
||||
|
||||
|
Reference in New Issue
Block a user