From c93ab5df5955694a6bfad4d6166523c89047b37e Mon Sep 17 00:00:00 2001 From: Andrei Khomenkov Date: Fri, 22 May 2026 22:02:56 +0300 Subject: [PATCH] staging: rtl8723bs: clean up wlanevents table in rtw_mlme_ext.c Clean up the wlanevents table by removing redundant ampersands, adding all index comments and aligning them. Signed-off-by: Andrei Khomenkov Link: https://patch.msgid.link/20260522190256.49830-3-khomenkov@mailbox.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 54 +++++++++---------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index c56082cd5264..eaedff8ae2e2 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -5605,34 +5605,32 @@ exit: } static struct fwevent wlanevents[] = { - {0, rtw_dummy_event_callback}, /*0*/ - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, &rtw_survey_event_callback}, /*8*/ - {sizeof(struct surveydone_event), &rtw_surveydone_event_callback}, /*9*/ - - {0, &rtw_joinbss_event_callback}, /*10*/ - {sizeof(struct stassoc_event), &rtw_stassoc_event_callback}, - {sizeof(struct stadel_event), &rtw_stadel_event_callback}, - {0, rtw_dummy_event_callback}, - {0, rtw_dummy_event_callback}, - {0, NULL}, /*15*/ - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, rtw_fwdbg_event_callback}, - {0, NULL}, /*20*/ - {0, NULL}, - {0, NULL}, - {0, &rtw_cpwm_event_callback}, - {0, NULL}, - {0, &rtw_wmm_event_callback}, - + {0, rtw_dummy_event_callback}, /* 0 */ + {0, NULL}, /* 1 */ + {0, NULL}, /* 2 */ + {0, NULL}, /* 3 */ + {0, NULL}, /* 4 */ + {0, NULL}, /* 5 */ + {0, NULL}, /* 6 */ + {0, NULL}, /* 7 */ + {0, rtw_survey_event_callback}, /* 8 */ + {sizeof(struct surveydone_event), rtw_surveydone_event_callback}, /* 9 */ + {0, rtw_joinbss_event_callback}, /* 10 */ + {sizeof(struct stassoc_event), rtw_stassoc_event_callback}, /* 11 */ + {sizeof(struct stadel_event), rtw_stadel_event_callback}, /* 12 */ + {0, rtw_dummy_event_callback}, /* 13 */ + {0, rtw_dummy_event_callback}, /* 14 */ + {0, NULL}, /* 15 */ + {0, NULL}, /* 16 */ + {0, NULL}, /* 17 */ + {0, NULL}, /* 18 */ + {0, rtw_fwdbg_event_callback}, /* 19 */ + {0, NULL}, /* 20 */ + {0, NULL}, /* 21 */ + {0, NULL}, /* 22 */ + {0, rtw_cpwm_event_callback}, /* 23 */ + {0, NULL}, /* 24 */ + {0, rtw_wmm_event_callback}, /* 25 */ }; u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf)