Staging: lustre: lnet: selftest: Made a function static.
authorHeena Sirwani <heenasirwani@gmail.com>
Fri, 3 Oct 2014 05:14:58 +0000 (10:44 +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_rpc_done' 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 bf6f125064eb70d54739b388b088928e5bb77e17..9e04695bfdbca55ccea909a6b44775b6acd55d87 100644 (file)
@@ -358,7 +358,7 @@ out:
        return;
 }
 
-void
+static void
 brw_server_rpc_done(srpc_server_rpc_t *rpc)
 {
        srpc_bulk_t *blk = rpc->srpc_bulk;
This page took 0.041418 seconds and 5 git commands to generate.