]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: r8188eu: remove empty rtw_dummy_event_callback
authorMartin Kaiser <martin@kaiser.cx>
Tue, 22 Mar 2022 20:24:38 +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_dummy_event_callback.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220322202439.157999-4-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 59af1df81565097a52062e9c00043d96d429c919..4ef50224c77546f087ed32ed170dbab3cd756714 100644 (file)
@@ -747,10 +747,6 @@ void rtw_surveydone_event_callback(struct adapter  *adapter, u8 *pbuf)
        rtw_os_xmit_schedule(adapter);
 }
 
-void rtw_dummy_event_callback(struct adapter *adapter, u8 *pbuf)
-{
-}
-
 void rtw_fwdbg_event_callback(struct adapter *adapter, u8 *pbuf)
 {
 }
index 3dde2bd0d77a3692661d8e00459a16a084f1993a..3da7b93ba5e96a6ebf14bbc57cc2c7ab3c725383 100644 (file)
@@ -744,7 +744,6 @@ struct C2HEvent_Header {
        unsigned int rsvd;
 };
 
-void rtw_dummy_event_callback(struct adapter *adapter, u8 *pbuf);
 void rtw_fwdbg_event_callback(struct adapter *adapter, u8 *pbuf);
 
 enum rtw_c2h_event {
@@ -781,7 +780,7 @@ enum rtw_c2h_event {
 #ifdef _RTW_MLME_EXT_C_
 
 static struct fwevent wlanevents[] = {
-       {0, rtw_dummy_event_callback},  /*0*/
+       {0, NULL},      /*0*/
        {0, NULL},
        {0, NULL},
        {0, NULL},
@@ -795,7 +794,7 @@ static struct fwevent wlanevents[] = {
        {sizeof(struct stassoc_event), &rtw_stassoc_event_callback},
        {sizeof(struct stadel_event), &rtw_stadel_event_callback},
        {0, NULL},
-       {0, rtw_dummy_event_callback},
+       {0, NULL},
        {0, NULL},      /*15*/
        {0, NULL},
        {0, NULL},