[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1494232980-27334-1-git-send-email-surenderpolsani@gmail.com>
Date: Mon, 8 May 2017 14:13:00 +0530
From: Surender Polsani <surenderpolsani@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Surender Polsani <surenderpolsani@...il.com>
Subject: [PATCH] staging : rtl8188eu : remove unnecessary else
according to coding style else is not generally
useful after a break or return
Signed-off-by: Surender Polsani <surenderpolsani@...il.com>
---
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index d04b7fb..7420f55 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
@@ -212,8 +212,7 @@ u8 rtw_hal_antdiv_before_linked(struct adapter *Adapter)
rtw_antenna_select_cmd(Adapter, dm_swat_tbl->CurAntenna, false);
return true;
- } else {
+ }
dm_swat_tbl->SWAS_NoLink_State = 0;
return false;
- }
}
--
1.9.1
Powered by blists - more mailing lists