staging: rtl8723bs: remove redundant initialization
Subsystems (2)
PATCH 1/1 staging: rtl8723bs: remove redundant initialization
The variable ret is being initialized as 0 and is never used until it's updated by sdio_register_driver()
This removes the redundant initialization of ret
Signed-off-by Bryan Brattlof <[email protected]>
--- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c +1 -1
@@ -503,7 +503,7 @@ static int rtw_sdio_resume(struct device *dev)static int __init rtw_drv_entry (void ) { -int ret =0 ; +int ret;DBG_871X_LEVEL (_drv_always_,"module init start\n" );dump_drv_version (RTW_DBGDUMP );
Signature · 1 line
2.27.0