Replace the DoReserved function pointer with NULL in mlme_sta_tbl. We can skip the function call for reserved subtypes. Signed-off-by: Martin Kaiser <martin@xxxxxxxxx> --- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 492f481b61ec..abb910f33c1c 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -22,8 +22,8 @@ static mlme_handler mlme_sta_tbl[] = { OnAssocRsp, OnProbeReq, OnProbeRsp, - DoReserved, - DoReserved, + NULL, + NULL, OnBeacon, OnAtim, OnDisassoc, -- 2.30.2