]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: ldlm: Do not export static function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sat, 24 Oct 2015 17:19:50 +0000 (22:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:34:06 +0000 (14:34 +0900)
commit37865b58dd8ad16ff7c023426c3f1da56934e5cf
tree86d3a9bad94bb43a8076c82a7d65982ca282dd51
parent0c4a9d03d247470876b1421b97017b7df93eaac7
staging: lustre: ldlm: Do not export static function

Remove the export symbol for static function.

The semantic patch used to find this is:

// <smpl>
@r@
type T;
identifier f;
@@

static T f (...) { ... }

@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@

-EXPORT_SYMBOL(f);
// </smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c