[PATCH v2 2/2] staging: rtl8723bs: Remove extern from function prototypes in cmd_osdep.h

From: Pramod Maurya

Date: Sun May 10 2026 - 13:52:23 EST


The extern keyword is redundant on function declarations in header files.
Remove it from all prototypes in cmd_osdep.h and fix extra whitespace
in the struct parameter types while at it.

Signed-off-by: Pramod Maurya <pramod.nexgen@xxxxxxxxx>
---
drivers/staging/rtl8723bs/include/cmd_osdep.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/cmd_osdep.h b/drivers/staging/rtl8723bs/include/cmd_osdep.h
index 41daa3c339a8..4e52e7240058 100644
--- a/drivers/staging/rtl8723bs/include/cmd_osdep.h
+++ b/drivers/staging/rtl8723bs/include/cmd_osdep.h
@@ -7,11 +7,11 @@
#ifndef __CMD_OSDEP_H_
#define __CMD_OSDEP_H_

-int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
+int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
int rtw_init_evt_priv(struct evt_priv *pevtpriv);
-extern void _rtw_free_evt_priv(struct evt_priv *pevtpriv);
-extern void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
+void _rtw_free_evt_priv(struct evt_priv *pevtpriv);
+void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
int _rtw_enqueue_cmd(struct __queue *queue, struct cmd_obj *obj);
-extern struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue);
+struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue);

#endif
--
2.52.0