[PATCH 29/73] staging: wilc1000: remove do-nothing else condition case.

Glen Lee glen.lee at atmel.com
Fri Nov 6 02:12:50 UTC 2015


From: Leo Kim <leo.kim at atmel.com>

This patch removes do-nothing else condition case.

Signed-off-by: Leo Kim <leo.kim at atmel.com>
Signed-off-by: Glen Lee <glen.lee at atmel.com>
---
 drivers/staging/wilc1000/wilc_wlan.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c
index ce9f45c..b07d229 100644
--- a/drivers/staging/wilc1000/wilc_wlan.c
+++ b/drivers/staging/wilc1000/wilc_wlan.c
@@ -256,8 +256,6 @@ static inline int add_tcp_pending_ack(u32 ack, u32 session_index,
 		pending_acks_info[pending_base + pending_acks].session_index = session_index;
 		txqe->tcp_PendingAck_index = pending_base + pending_acks;
 		pending_acks++;
-	} else {
-
 	}
 	return 0;
 }
@@ -1630,7 +1628,6 @@ u32 wilc_get_chipid(u8 update)
 			} else {
 				tempchipid = 0x1002b2;
 			}
-		} else {
 		}
 
 		chipid = tempchipid;
-- 
1.9.1



More information about the devel mailing list