mei: simplify io callback disposal
Simplify disposal of io callback by removing the callback implicitly from its lookup list inside mei_io_cb_free 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
03b8d3419f
commit
928fa6664b
@@ -639,7 +639,7 @@ static void mei_hbm_cl_res(struct mei_device *dev,
|
||||
continue;
|
||||
|
||||
if (mei_hbm_cl_addr_equal(cl, rs)) {
|
||||
list_del(&cb->list);
|
||||
list_del_init(&cb->list);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user