staging: lustre: echo_client: fix sparse declaration warnings
Fixes the following sparse warnings: drivers/staging/lustre/lustre/obdecho/echo_client.c:2142:5: warning: symbol 'echo_client_init' was not declared. Should it be static? drivers/staging/lustre/lustre/obdecho/echo_client.c:2157:6: warning: symbol 'echo_client_exit' was not declared. Should it be static? Signed-off-by: Zoltán Lajos Kis <zoltan.lajos.kis@gmail.com>" Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5bb546f755
commit
5b34cd2993
drivers/staging/lustre/lustre/obdecho
|
@ -2139,7 +2139,7 @@ static struct obd_ops echo_client_obd_ops = {
|
||||||
.o_disconnect = echo_client_disconnect
|
.o_disconnect = echo_client_disconnect
|
||||||
};
|
};
|
||||||
|
|
||||||
int echo_client_init(void)
|
static int echo_client_init(void)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
@ -2154,7 +2154,7 @@ int echo_client_init(void)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void echo_client_exit(void)
|
static void echo_client_exit(void)
|
||||||
{
|
{
|
||||||
class_unregister_type(LUSTRE_ECHO_CLIENT_NAME);
|
class_unregister_type(LUSTRE_ECHO_CLIENT_NAME);
|
||||||
lu_kmem_fini(echo_caches);
|
lu_kmem_fini(echo_caches);
|
||||||
|
|
Loading…
Reference in New Issue