]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192u: ieee80211: Do not export static function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sat, 24 Oct 2015 17:21:00 +0000 (22:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 07:55:23 +0000 (16:55 +0900)
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/rtl8192u/ieee80211/ieee80211_softmac.c

index c57fb220a129a51c4b3c60d1f6b9ca8bd39ebbab..38c3eb78094e6b0113d68c7e7994781493a1b909 100644 (file)
@@ -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.