mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
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>
This commit is contained in:
parent
4de8e0d817
commit
28f54a8613
|
|
@ -1977,7 +1977,7 @@ lstcon_acceptor_handle (srpc_server_rpc_t *rpc)
|
|||
}
|
||||
|
||||
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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user