mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 04:09:18 -04:00
staging: wilc1000: removes an unnecessary if-condition
This patch removes an unnecessary if-condition. Regardless of an if-condition is performed unconditionally '_end_' statement. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5c6021da1c
commit
88253ab8e6
@@ -895,8 +895,6 @@ static void wilc_wlan_handle_isr_ext(struct wilc *wilc, u32 int_status)
|
||||
DATA_INT_CLR | ENABLE_RX_VMM);
|
||||
ret = wilc->hif_func->hif_block_rx_ext(wilc, 0, buffer, size);
|
||||
|
||||
if (!ret)
|
||||
goto _end_;
|
||||
_end_:
|
||||
if (ret) {
|
||||
offset += size;
|
||||
|
||||
Reference in New Issue
Block a user