Commit 29fe7d59 authored by Alexander Usyskin's avatar Alexander Usyskin Committed by Greg Kroah-Hartman

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: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7a11a1d1
...@@ -404,7 +404,7 @@ static void __mei_io_list_flush(struct mei_cl_cb *list, ...@@ -404,7 +404,7 @@ static void __mei_io_list_flush(struct mei_cl_cb *list,
* @list: An instance of our list structure * @list: An instance of our list structure
* @cl: host client * @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); __mei_io_list_flush(list, cl, false);
} }
......
...@@ -93,7 +93,6 @@ static inline void mei_io_list_init(struct mei_cl_cb *list) ...@@ -93,7 +93,6 @@ static inline void mei_io_list_init(struct mei_cl_cb *list)
{ {
INIT_LIST_HEAD(&list->list); INIT_LIST_HEAD(&list->list);
} }
void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl);
/* /*
* MEI Host Client Functions * MEI Host Client Functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment