diff options
author | Heena Sirwani <[email protected]> | 2014-10-01 14:36:27 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-10-02 09:58:15 -0700 |
commit | d5bd05041631f6045130224eba1f50ef1c269826 (patch) | |
tree | 651435b46b7dc05268309a6d567f8e376dd4955c | |
parent | 28f54a86138fbc331083a3c11eab59996549f6d8 (diff) |
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 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/brw_test.c | 2 |
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 bcce919c0433..ca1080b8681d 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -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; |