Skip to contentSkip to conversation

Staging: rtl8188eu: Remove redundant if condition clause

PATCH New Vatika Harlalka 1 participant 1 message Feb 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8188eu: Remove redundant if condition clause

Clause removed as !sim_bitmap is always true.

---
 drivers/staging/rtl8188eu/hal/phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/phy.c +1 -1
index 05379be..fa13139 100644
@@ -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)
Signature · 1 line
1.9.1