staging: r8188eu: remove empty rtw_fwdbg_event_callback
authorMartin Kaiser <martin@kaiser.cx>
Tue, 22 Mar 2022 20:24:39 +0000 (21:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 05:33:46 +0000 (07:33 +0200)
Remove the empty function rtw_fwdbg_event_callback.

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

index 4ef50224c77546f087ed32ed170dbab3cd756714..f1e1627641cb6199a149d9d3af96ee68c99284e6 100644 (file)
@@ -747,10 +747,6 @@ void rtw_surveydone_event_callback(struct adapter  *adapter, u8 *pbuf)
        rtw_os_xmit_schedule(adapter);
 }
 
-void rtw_fwdbg_event_callback(struct adapter *adapter, u8 *pbuf)
-{
-}
-
 static void free_scanqueue(struct      mlme_priv *pmlmepriv)
 {
        struct __queue *free_queue = &pmlmepriv->free_bss_pool;
index 3da7b93ba5e96a6ebf14bbc57cc2c7ab3c725383..bab6eeae6fc9b16b834c8476c54fd480c703722e 100644 (file)
@@ -744,8 +744,6 @@ struct C2HEvent_Header {
        unsigned int rsvd;
 };
 
-void rtw_fwdbg_event_callback(struct adapter *adapter, u8 *pbuf);
-
 enum rtw_c2h_event {
        GEN_EVT_CODE(_Read_MACREG) = 0, /*0*/
        GEN_EVT_CODE(_Read_BBREG),
@@ -799,7 +797,7 @@ static struct fwevent wlanevents[] = {
        {0, NULL},
        {0, NULL},
        {0, NULL},
-       {0, rtw_fwdbg_event_callback},
+       {0, NULL},
        {0, NULL},       /*20*/
        {0, NULL},
        {0, NULL},