From 56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82 Mon Sep 17 00:00:00 2001 From: Heena Sirwani Date: Wed, 1 Oct 2014 14:39:51 +0530 Subject: [PATCH] Staging: lustre: lnet: selftest: Made a function static. The following patch makes a function static as it was not used by other files. The patch fixes the warning: WARNING: symbol 'brw_fill_bulk' was not declared. Should it be static? The above warning was reported by sparse. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c index 4a6da10676e0..a94f336d578c 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -221,7 +221,7 @@ bad_data: return 1; } -void +static void brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) { int i; -- 2.34.1