From: Amitoj Kaur Chawla Date: Sat, 24 Oct 2015 17:21:00 +0000 (+0530) Subject: staging: rtl8192u: ieee80211: Do not export static function X-Git-Tag: firefly_0821_release~176^2~802^2~191 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bcfe55b4afa396340f9a3bb70b56f9b8b5b49e51;p=firefly-linux-kernel-4.4.55.git staging: rtl8192u: ieee80211: 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/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c index c57fb220a129..38c3eb78094e 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c @@ -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.