From: Heena Sirwani Date: Fri, 3 Oct 2014 05:14:58 +0000 (+0530) Subject: Staging: lustre: lnet: selftest: Made a function static. X-Git-Tag: v3.19-rc1~66^2~1288 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6888871cb05cd4d182bf504ed3f804a9bba20ce8;p=karo-tx-linux.git Staging: lustre: lnet: selftest: Made a function static. 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c index bf6f125064eb..9e04695bfdbc 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -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;