mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
staging: r8188eu: remove action_handler string
Remove the unused str component from struct action_handler and the corresponding entries in OnAction_tbl. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220502200652.143665-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
639880ea94
commit
d0c9872117
@ -33,9 +33,9 @@ static mlme_handler mlme_sta_tbl[] = {
|
||||
};
|
||||
|
||||
static struct action_handler OnAction_tbl[] = {
|
||||
{RTW_WLAN_CATEGORY_BACK, "ACTION_BACK", &OnAction_back},
|
||||
{RTW_WLAN_CATEGORY_PUBLIC, "ACTION_PUBLIC", on_action_public},
|
||||
{RTW_WLAN_CATEGORY_P2P, "ACTION_P2P", &OnAction_p2p},
|
||||
{RTW_WLAN_CATEGORY_BACK, &OnAction_back},
|
||||
{RTW_WLAN_CATEGORY_PUBLIC, on_action_public},
|
||||
{RTW_WLAN_CATEGORY_P2P, &OnAction_p2p},
|
||||
};
|
||||
|
||||
static u8 null_addr[ETH_ALEN] = {0, 0, 0, 0, 0, 0};
|
||||
|
@ -188,7 +188,6 @@ typedef unsigned int (*mlme_handler)(struct adapter *adapt, struct recv_frame *f
|
||||
|
||||
struct action_handler {
|
||||
unsigned int num;
|
||||
char* str;
|
||||
unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user