]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: lustre: lnet: selftest: Made a function static.
authorHeena Sirwani <heenasirwani@gmail.com>
Fri, 3 Oct 2014 05:16:09 +0000 (10:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:09 +0000 (10:29 +0800)
The following patch makes a function static as it is not used by other
files.
The patch fixes the warning:
WARNING: symbol 'brw_server_handle' was not declared. Should it be static?

The above warning was reported by sparse.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/brw_test.c

index d7b26b0a57e292c864f3274cb1c52ada87d341cb..463da076fa703ca04c7311d47f06f12b5ff596b7 100644 (file)
@@ -414,7 +414,7 @@ brw_bulk_ready(srpc_server_rpc_t *rpc, int status)
        return 0;
 }
 
-int
+static int
 brw_server_handle(struct srpc_server_rpc *rpc)
 {
        struct srpc_service     *sv = rpc->srpc_scd->scd_svc;