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 <hello@bryanbrattlof.com>
Link: https://lore.kernel.org/r/20210409201235.407671-1-hello@bryanbrattlof.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bryan Brattlof 2021-04-09 20:13:08 +00:00 committed by Greg Kroah-Hartman
parent d55c46f360
commit 98a847ae5d
1 changed files with 1 additions and 1 deletions

View File

@ -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);