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-Url: https://git.stricted.de/?a=commitdiff_plain;h=5860be3f7007862b0bed1df6f1d5d2937fde4a93;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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) {