]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: r8188eu: remove action_public_str function
authorIvan Safonov <insafonov@gmail.com>
Wed, 24 Aug 2016 08:21:01 +0000 (15:21 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:01:40 +0000 (18:01 +0200)
Driver does not use this function.
Also _action_public_str array removed.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c
drivers/staging/rtl8188eu/include/ieee80211.h

index fac124114b3ef01bf96a973351be092897e2d4fd..0c616bc11aa7343dfc11dce361372208cda82f72 100644 (file)
@@ -1154,29 +1154,3 @@ u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI_20, u8 short_GI_40, unsign
        }
        return max_rate;
 }
-
-static const char *_action_public_str[] = {
-       "ACT_PUB_BSSCOEXIST",
-       "ACT_PUB_DSE_ENABLE",
-       "ACT_PUB_DSE_DEENABLE",
-       "ACT_PUB_DSE_REG_LOCATION",
-       "ACT_PUB_EXT_CHL_SWITCH",
-       "ACT_PUB_DSE_MSR_REQ",
-       "ACT_PUB_DSE_MSR_RPRT",
-       "ACT_PUB_MP",
-       "ACT_PUB_DSE_PWR_CONSTRAINT",
-       "ACT_PUB_VENDOR",
-       "ACT_PUB_GAS_INITIAL_REQ",
-       "ACT_PUB_GAS_INITIAL_RSP",
-       "ACT_PUB_GAS_COMEBACK_REQ",
-       "ACT_PUB_GAS_COMEBACK_RSP",
-       "ACT_PUB_TDLS_DISCOVERY_RSP",
-       "ACT_PUB_LOCATION_TRACK",
-       "ACT_PUB_RSVD",
-};
-
-const char *action_public_str(u8 action)
-{
-       action = min_t(u8, action, ACT_PUBLIC_MAX);
-       return _action_public_str[action];
-}
index 8a3176f275226f9f50de86757ec6cfc9d75661b1..ddb9db459181364860b20cc6992fa1a98ca5ec2c 100644 (file)
@@ -1152,6 +1152,4 @@ void rtw_macaddr_cfg(u8 *mac_addr);
 u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI_20, u8 short_GI_40,
                 unsigned char *MCS_rate);
 
-const char *action_public_str(u8 action);
-
 #endif /* IEEE80211_H */