11 Mar
2015
11 Mar
'15
5:56 p.m.
These patches remove EXPORT_SYMBOL or EXPORT_SYMBOL_GPL declarations on static functions.
This was done using the following semantic patch: (http://coccinelle.lip6.fr/)
// <smpl> @r@ type T; identifier f; @@
static T f (...) { ... }
@@ identifier r.f; declarer name EXPORT_SYMBOL; @@
-EXPORT_SYMBOL(f);
@@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@
-EXPORT_SYMBOL_GPL(f); // </smpl>