Thread (2 messages) 2 messages, 2 authors, 2021-06-20

Re: [PATCH] staging: rtl8188eu: remove useless comment

From: Martin Kaiser <hidden>
Date: 2021-06-20 13:32:10
Also in: lkml

Thus wrote Michael Straube (straube.linux@gmail.com):
Remove block comment about function HwSuspendModeEnable92Cu.
The comment contains no useful information and there is even
no HwSuspendModeEnable92Cu function in the driver code.
'git grep -n HwSuspendModeEnable92Cu drivers/staging/rtl8188eu'
returns nothing.
Signed-off-by: Michael Straube <redacted>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c | 16 ----------------
 1 file changed, 16 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index dcdf868b394d..6c88675ae251 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -601,22 +601,6 @@ static void _InitAntenna_Selection(struct adapter *Adapter)
 		haldata->CurAntenna = Antenna_B;
 }
-/*-----------------------------------------------------------------------------
- * Function:	HwSuspendModeEnable92Cu()
- *
- * Overview:	HW suspend mode switch.
- *
- * Input:		NONE
- *
- * Output:	NONE
- *
- * Return:	NONE
- *
- * Revised History:
- *	When		Who		Remark
- *	08/23/2010	MHC		HW suspend mode switch test..
- *---------------------------------------------------------------------------
- */
 enum rt_rf_power_state RfOnOffDetect(struct adapter *adapt)
 {
 	u8 val8;
-- 
2.32.0
You're right. The function for this comment is already gone.

Reviewed-by: Martin Kaiser <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help