staging: r8188eu: remove action_public_str()
Function action_public_str() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210922200420.9693-31-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
79b54a75fe
commit
cb599f66ac
2 changed files with 0 additions and 27 deletions
|
|
@ -1495,29 +1495,3 @@ int rtw_action_frame_parse(const u8 *frame, u32 frame_len, u8 *category, u8 *act
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
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 = (action >= ACT_PUBLIC_MAX) ? ACT_PUBLIC_MAX : action;
|
||||
return _action_public_str[action];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1181,6 +1181,5 @@ u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI_20, u8 short_GI_40,
|
|||
|
||||
int rtw_action_frame_parse(const u8 *frame, u32 frame_len, u8 *category,
|
||||
u8 *action);
|
||||
const char *action_public_str(u8 action);
|
||||
|
||||
#endif /* IEEE80211_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue