staging: Do not export static functions
cover staging: Do not export static functions
This patchset removes the export symbol for static functions.
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>
Amitoj Kaur Chawla (2):
staging: lustre: ldlm: Do not export static function
staging: rtl8192u: ieee80211: Do not export static function
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 1 - drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 1 - 2 files changed, 2 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/2 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>
--- drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c +0 -1
@@ -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) {
Signature · 1 line
1.9.1
PATCH 2/2 staging: rtl8192u: ieee80211: Do not export static function
In reply to Amitoj Kaur ChawlaRemove 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>
--- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +0 -1
@@ -417,7 +417,6 @@ static void ieee80211_send_probe_requests(struct ieee80211_device *ieee)ieee80211_send_probe (ieee); } } -EXPORT_SYMBOL (ieee80211_send_probe_requests);/* this performs syncro scan blocking the caller until all channels * in the allowed channel map has been checked.
Signature · 1 line
1.9.1