summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/client.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-08-14 18:22:20 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 09:56:16 +0400
commit5456796b1a2aedd2d6345944b73ac41aeb8cb589 (patch)
tree958f8335ef341fa67b416f0bcc96a3e19f2c2f44 /drivers/misc/mei/client.c
parent2c2b93ecace25c3720e68e6cd7ee47f38c1d2e90 (diff)
downloadlinux-5456796b1a2aedd2d6345944b73ac41aeb8cb589.tar.xz
mei: amthif: use service function to flush amthif queue
Replace open coded loop with an existing service function: mei_io_list_flush 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>
Diffstat (limited to 'drivers/misc/mei/client.c')
-rw-r--r--drivers/misc/mei/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 2da05c0e113d..3c5a1d328977 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -117,7 +117,7 @@ static void __mei_io_list_flush(struct mei_cl_cb *list,
* @list: An instance of our list structure
* @cl: host client
*/
-static inline void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl)
+void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl)
{
__mei_io_list_flush(list, cl, false);
}