From 5860be3f7007862b0bed1df6f1d5d2937fde4a93 Mon Sep 17 00:00:00 2001 From: Amitoj Kaur Chawla Date: Sat, 24 Oct 2015 22:49:50 +0530 Subject: [PATCH] staging: lustre: ldlm: Do not export static function Remove the export symbol for static function. The semantic patch used to find this is: // @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c index 92c21fd47f86..1a4eef64658f 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c @@ -1005,7 +1005,6 @@ static int ldlm_pools_recalc(ldlm_side_t client) } return time; } -EXPORT_SYMBOL(ldlm_pools_recalc); static int ldlm_pools_thread_main(void *arg) { -- 2.20.1