summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-05-02 22:06:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 23:22:38 +0200
commitd0c9872117e944fb314d0c71d9d25c17c3ed3b38 (patch)
tree2dcc4e5163faaf9bdc254edd5943ca912c35b1c4 /drivers/staging
parent639880ea94c84c817392e452a15b474e6c227800 (diff)
downloadlinux-d0c9872117e944fb314d0c71d9d25c17c3ed3b38.tar.bz2
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/r8188eu/core/rtw_mlme_ext.c6
-rw-r--r--drivers/staging/r8188eu/include/rtw_mlme_ext.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c
index a581930b05df..9c83a74f0795 100644
--- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c
@@ -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};
diff --git a/drivers/staging/r8188eu/include/rtw_mlme_ext.h b/drivers/staging/r8188eu/include/rtw_mlme_ext.h
index 136879a0a0f9..63e4ee8e3dfb 100644
--- a/drivers/staging/r8188eu/include/rtw_mlme_ext.h
+++ b/drivers/staging/r8188eu/include/rtw_mlme_ext.h
@@ -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);
};