Commit b417dcd7 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: remove the use of goto label in wilc_spi_read_int()

In wilc_spi_read_int() remove the use of goto label '_fail_'. Changes
are done to avoid the use of '_' in label name.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a7d355f3
...@@ -946,7 +946,7 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status) ...@@ -946,7 +946,7 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
if (!ret) { if (!ret) {
dev_err(&spi->dev, dev_err(&spi->dev,
"Failed read WILC_VMM_TO_HOST_SIZE ...\n"); "Failed read WILC_VMM_TO_HOST_SIZE ...\n");
goto _fail_; return ret;
} }
tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK; tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK;
...@@ -976,7 +976,6 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status) ...@@ -976,7 +976,6 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
*int_status = tmp; *int_status = tmp;
_fail_:
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment