Staging: lustre: lnet: selftest: Made a function static.
authorHeena Sirwani <heenasirwani@gmail.com>
Wed, 1 Oct 2014 09:09:51 +0000 (14:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:58:15 +0000 (09:58 -0700)
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>
drivers/staging/lustre/lnet/selftest/brw_test.c

index 4a6da10676e02ab961500db615f4030535533b7c..a94f336d578c707648291e3a5c9cdaaf780a5f3f 100644 (file)
@@ -221,7 +221,7 @@ bad_data:
        return 1;
 }
 
-void
+static void
 brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic)
 {
        int      i;