]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: lustre: ptlrpc: service: Declare local functions as static
authorShraddha Barke <shraddha.6596@gmail.com>
Wed, 7 Oct 2015 20:06:07 +0000 (01:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:21:08 +0000 (10:21 +0100)
commit0450bbee716d8332c57c95538434f8a2762ebe71
treec763b24ce7817e984c0e834d9ed3d2e970c7f775
parentfa92bfc457dbbcca268ad3466c0f40db9d40b5c2
Staging: lustre: ptlrpc: service: Declare local functions as static

Declare ptlrpc_server_drop_request and ptlrpc_stop_all_threads
as static since they are used only in this particular file.Also
remove the corresponding declaration from header files.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/ptlrpc/service.c