Staging: lustre: lnet: selftest: Made a function static.
authorHeena Sirwani <heenasirwani@gmail.com>
Wed, 1 Oct 2014 09:06:27 +0000 (14:36 +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 following warning:
WARNING: symbol brw_client_init 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 bcce919..ca1080b 100644 (file)
@@ -66,7 +66,7 @@ brw_client_fini(sfw_test_instance_t *tsi)
        }
 }
 
-int
+static int
 brw_client_init(sfw_test_instance_t *tsi)
 {
        sfw_session_t    *sn = tsi->tsi_batch->bat_session;