aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorHeena Sirwani <heenasirwani@gmail.com>2014-10-01 13:39:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:56:46 -0700
commit28f54a86138fbc331083a3c11eab59996549f6d8 (patch)
treec14fd6358737cababdd1379a129748e1f676432b /drivers/staging
parentstaging: lustre: include: linux: libcfs: linux: Removed line continuations. (diff)
downloadlinux-dev-28f54a86138fbc331083a3c11eab59996549f6d8.tar.xz
linux-dev-28f54a86138fbc331083a3c11eab59996549f6d8.zip
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 <heenasirwani@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lnet/selftest/console.c2
1 files changed, 1 insertions, 1 deletions
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";