* [PATCH] Staging: rtl8188eu: Remove redundant if condition clause
@ 2015-02-27 18:11 Vatika Harlalka
0 siblings, 0 replies; only message in thread
From: Vatika Harlalka @ 2015-02-27 18:11 UTC (permalink / raw)
To: outreachy-kernel
Clause removed as !sim_bitmap is always true.
Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
drivers/staging/rtl8188eu/hal/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/phy.c b/drivers/staging/rtl8188eu/hal/phy.c
index 05379be..fa13139 100644
--- a/drivers/staging/rtl8188eu/hal/phy.c
+++ b/drivers/staging/rtl8188eu/hal/phy.c
@@ -1050,7 +1050,7 @@ static bool simularity_compare(struct adapter *adapt, s32 resulta[][8],
diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1);
if (diff > MAX_TOLERANCE) {
- if ((i == 2 || i == 6) && !sim_bitmap) {
+ if (i == 2 || i == 6) {
if (resulta[c1][i] + resulta[c1][i+1] == 0)
final_candidate[(i/4)] = c2;
else if (resulta[c2][i] + resulta[c2][i+1] == 0)
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-27 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 18:11 [PATCH] Staging: rtl8188eu: Remove redundant if condition clause Vatika Harlalka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.