From: Amitoj Kaur Chawla Date: Sat, 24 Oct 2015 17:19:50 +0000 (+0530) Subject: staging: lustre: ldlm: Do not export static function X-Git-Tag: firefly_0821_release~176^2~802^2~218 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5860be3f7007862b0bed1df6f1d5d2937fde4a93;p=firefly-linux-kernel-4.4.55.git 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 --- 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) {