Commit 34a29685 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: remove empty rtw_dummy_event_callback



Remove the empty function rtw_dummy_event_callback.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220322202439.157999-4-martin@kaiser.cx


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c5e5a76
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)
{
}
+2 −3
Original line number Diff line number Diff line
@@ -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},