summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/client.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2017-01-20 02:17:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-20 14:41:57 +0100
commit29fe7d59bdd8cea561187fca155dbf5cee918bb8 (patch)
tree5ef4916f727a4d6793cf512f063ff6d94fb99cb6 /drivers/misc/mei/client.c
parent7a11a1d1b58873b2e5a6922dcdc23b6b339b14ba (diff)
downloadtalos-op-linux-29fe7d59bdd8cea561187fca155dbf5cee918bb8.tar.gz
talos-op-linux-29fe7d59bdd8cea561187fca155dbf5cee918bb8.zip
mei: make mei_io_list_flush static
mei_io_list_flush is used only in client.c so make it local to the file and mark static. 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 b0395601c6ae..3aaa86235fe0 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -404,7 +404,7 @@ static void __mei_io_list_flush(struct mei_cl_cb *list,
* @list: An instance of our list structure
* @cl: host client
*/
-void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl)
+static inline void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl)
{
__mei_io_list_flush(list, cl, false);
}
OpenPOWER on IntegriCloud