aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorHeena Sirwani <heenasirwani@gmail.com>2014-10-01 14:39:51 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:58:15 -0700
commit56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82 (patch)
treeaae09027b05757e167020b1c4725a3629a57b204 /drivers/staging
parentStaging: lustre: lnet: selftest: Made a function static. (diff)
downloadlinux-dev-56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82.tar.xz
linux-dev-56e1ccac5fe3bcd106fd04b86e18b1e4ec35ea82.zip
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 <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lnet/selftest/brw_test.c2
1 files changed, 1 insertions, 1 deletions
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;