staging: r8188eu: remove dummy entries from OnAction_tbl
authorMartin Kaiser <martin@kaiser.cx>
Thu, 21 Apr 2022 20:08:01 +0000 (22:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:43:40 +0000 (16:43 +0200)
commit869ddbfccdea7366e583b7ee70070a43f891c29b
treeb804d5e78ef057a577230ca1c467e64690949217
parent6d933902c609679f7551b2b113e7d62ad81da9b1
staging: r8188eu: remove dummy entries from OnAction_tbl

Unlike mlme_sta_tbl, OnAction_tbl is an array of structs.

OnAction iterates over the array to find the entry for a specific action
category. No action is performed if a category has no entry.

We can remove the entries that point to the dummy function DoReserved.
These were the last users of DoReserved, the function itself can be
removed as well.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220421200805.192083-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/include/ieee80211.h