diff options
author | Marc Kleine-Budde <[email protected]> | 2020-07-06 16:34:36 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-07-07 10:41:34 +0100 |
commit | b6d5527389f34ef3c07fcbd7902b79bc39936ecf (patch) | |
tree | 61b48c05e55d518462356b3064ea3a50613a8af2 | |
parent | 0bc7b8a2c307c52dbc9f3b5bc7855e93d281098a (diff) |
spi: spi-sun6i: sun6i_spi_transfer_one(): remove useless goto
This patch removes an useless goto at the end of
sun6i_spi_transfer_one().
Signed-off-by: Marc Kleine-Budde <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/spi/spi-sun6i.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c index 64b4d8077010..955be8921c45 100644 --- a/drivers/spi/spi-sun6i.c +++ b/drivers/spi/spi-sun6i.c @@ -335,10 +335,8 @@ static int sun6i_spi_transfer_one(struct spi_master *master, dev_name(&spi->dev), tfr->len, tfr->speed_hz, jiffies_to_msecs(end - start), tx_time); ret = -ETIMEDOUT; - goto out; } -out: sun6i_spi_write(sspi, SUN6I_INT_CTL_REG, 0); return ret; |