From 28f54a86138fbc331083a3c11eab59996549f6d8 Mon Sep 17 00:00:00 2001 From: Heena Sirwani Date: Wed, 1 Oct 2014 13:39:28 +0530 Subject: Staging: lustre: lnet: selftest: Made a function static. The following patch makes a function static as it was not used by other files and not declared in the same file. It fixes the following warning: WARNING: symbol 'lstcon_init_acceptor_service' was not declared. Should it be static? The above warning was given by sparse. Signed-off-by: Heena Sirwani Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lnet/selftest/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging') diff --git a/drivers/staging/lustre/lnet/selftest/console.c b/drivers/staging/lustre/lnet/selftest/console.c index 68174fd07139..5dad9f1f9462 100644 --- a/drivers/staging/lustre/lnet/selftest/console.c +++ b/drivers/staging/lustre/lnet/selftest/console.c @@ -1977,7 +1977,7 @@ out: } srpc_service_t lstcon_acceptor_service; -void lstcon_init_acceptor_service(void) +static void lstcon_init_acceptor_service(void) { /* initialize selftest console acceptor service table */ lstcon_acceptor_service.sv_name = "join session"; -- cgit v1.2.3-59-g8ed1b