summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-10-23 09:50:03 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-12-04 14:43:32 +0100
commit0483eeac59876ac37d4edbabd48727a468416d5b (patch)
tree53529fe082caeb04e5170ce2227c71393710da01 /net
parent6e045905d1786f62cb3f7ddc6c987f7dc3ad8ed6 (diff)
downloadop-kernel-dev-0483eeac59876ac37d4edbabd48727a468416d5b.zip
op-kernel-dev-0483eeac59876ac37d4edbabd48727a468416d5b.tar.gz
cfg80211: replace ieee80211_ie_split() with an inline
The function is a very simple wrapper around another one, just adds a few default parameters, so replace it with a static inline instead of using EXPORT_SYMBOL, reducing the module size slightly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index baf7218..010a3c7 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1325,13 +1325,6 @@ size_t ieee80211_ie_split_ric(const u8 *ies, size_t ielen,
}
EXPORT_SYMBOL(ieee80211_ie_split_ric);
-size_t ieee80211_ie_split(const u8 *ies, size_t ielen,
- const u8 *ids, int n_ids, size_t offset)
-{
- return ieee80211_ie_split_ric(ies, ielen, ids, n_ids, NULL, 0, offset);
-}
-EXPORT_SYMBOL(ieee80211_ie_split);
-
bool ieee80211_operating_class_to_band(u8 operating_class,
enum ieee80211_band *band)
{
OpenPOWER on IntegriCloud