summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2016-12-07 17:55:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 15:04:50 +0100
commitefd6271be19425233ed819cda5daaa69cc832d41 (patch)
treeca0ddcdd0bb8976b7abdefcbe5219024894d94a7
parent4ddcd16f54b43e421001624483d7a9a1d6523c18 (diff)
downloadblackbird-op-linux-efd6271be19425233ed819cda5daaa69cc832d41.tar.gz
blackbird-op-linux-efd6271be19425233ed819cda5daaa69cc832d41.zip
staging: lustre: lnet: make brw_inject_one_error() static
It's not used anywhere outside of brw_test.c file. Highlighted by sparse. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 67b460f41d6e..b9ac34ecbd53 100644
--- a/drivers/staging/lustre/lnet/selftest/brw_test.c
+++ b/drivers/staging/lustre/lnet/selftest/brw_test.c
@@ -136,7 +136,7 @@ brw_client_init(struct sfw_test_instance *tsi)
return 0;
}
-int brw_inject_one_error(void)
+static int brw_inject_one_error(void)
{
struct timespec64 ts;
OpenPOWER on IntegriCloud