staging: wilc1000: remove do-nothing else condition case.
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:50 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch removes do-nothing else condition case.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index ce9f45ca7985123520de94dab0da32a1b2207b5a..b07d229eeedcbad9d1a0d99292120469b66ee9ca 100644 (file)
@@ -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;