[OPW,kernel] staging: rtl8188eu: core: Removed unnecessary return keyword.
diff mbox

Message ID 1414555617-18564-1-git-send-email-gulsah.1004@gmail.com
State New, archived
Headers show

Commit Message

Gulsah Kose Oct. 29, 2014, 4:06 a.m. UTC
This patch fixes
WARNING:  void function return statements are not generally useful
checkpatch.pl warning in rtw_efuse.c by using this coccinelle script

@r@
identifier i;
@@
void i(...)
{
...
-return;
}

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_efuse.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c b/drivers/staging/rtl8188eu/core/rtw_efuse.c
index 7006088..b442f43 100644
--- a/drivers/staging/rtl8188eu/core/rtw_efuse.c
+++ b/drivers/staging/rtl8188eu/core/rtw_efuse.c
@@ -322,7 +322,6 @@  void efuse_ReadEFuse(struct adapter *Adapter, u8 efuseType, u16 _offset, u16 _si
 		iol_read_efuse(Adapter, 0, _offset, _size_byte, pbuf);
 		iol_mode_enable(Adapter, 0);
 	}
-	return;
 }
 
 /* Do not support BT */