staging: r8188eu: remove unused argument in on_action_public_default
authorAbdun Nihaal <abdun.nihaal@gmail.com>
Wed, 9 Feb 2022 16:36:05 +0000 (22:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:13:21 +0000 (17:13 +0100)
The function argument action is not used in on_action_public_default.
Remove it.

Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Link: https://lore.kernel.org/r/01c8fd82c21ae96773c9099a2cee3c3fd29c1054.1644422181.git.abdun.nihaal@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c

index 7fabb5b..27bfb43 100644 (file)
@@ -4044,7 +4044,7 @@ static unsigned int on_action_public_vendor(struct recv_frame *precv_frame)
        return ret;
 }
 
-static unsigned int on_action_public_default(struct recv_frame *precv_frame, u8 action)
+static unsigned int on_action_public_default(struct recv_frame *precv_frame)
 {
        unsigned int ret = _FAIL;
        u8 *pframe = precv_frame->rx_data;
@@ -4083,7 +4083,7 @@ unsigned int on_action_public(struct adapter *padapter, struct recv_frame *precv
                ret = on_action_public_vendor(precv_frame);
                break;
        default:
-               ret = on_action_public_default(precv_frame, action);
+               ret = on_action_public_default(precv_frame);
                break;
        }