Commit 28f54a86 authored by Heena Sirwani's avatar Heena Sirwani Committed by Greg Kroah-Hartman

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: default avatarHeena Sirwani <heenasirwani@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4de8e0d8
...@@ -1977,7 +1977,7 @@ lstcon_acceptor_handle (srpc_server_rpc_t *rpc) ...@@ -1977,7 +1977,7 @@ lstcon_acceptor_handle (srpc_server_rpc_t *rpc)
} }
srpc_service_t lstcon_acceptor_service; 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 */ /* initialize selftest console acceptor service table */
lstcon_acceptor_service.sv_name = "join session"; lstcon_acceptor_service.sv_name = "join session";
......
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