From: Alexander Usyskin Date: Fri, 20 Jan 2017 00:17:16 +0000 (+0200) Subject: mei: make mei_io_list_flush static X-Git-Tag: Ubuntu-5.10.0-12.13~10854^2~116 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=29fe7d59bdd8cea561187fca155dbf5cee918bb8;p=mirror_ubuntu-hirsute-kernel.git 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 Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- 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); } diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index f2545af9be7b..dc80ad5c9fa2 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h @@ -93,7 +93,6 @@ static inline void mei_io_list_init(struct mei_cl_cb *list) { INIT_LIST_HEAD(&list->list); } -void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl); /* * MEI Host Client Functions