mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
staging: r8188eu: remove action_public_str function
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>
This commit is contained in:
parent
86d54a7b78
commit
1b9e6df516
2 changed files with 0 additions and 28 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue