projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e2d2c
)
spi: qup: remove unnecessary goto
author
Jorge Ramirez-Ortiz
<jorge.ramirez-ortiz@linaro.org>
Fri, 31 May 2019 14:46:36 +0000
(16:46 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 3 Jun 2019 16:53:43 +0000
(17:53 +0100)
Remove unnecessary condition check and associated goto.
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qup.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-qup.c
b/drivers/spi/spi-qup.c
index 974a8ce58b68bc31e38d717ff16564aec398232e..314d91b95a16fa07e195434b347076cd324b2250 100644
(file)
--- a/
drivers/spi/spi-qup.c
+++ b/
drivers/spi/spi-qup.c
@@
-842,10
+842,6
@@
static int spi_qup_transfer_one(struct spi_master *master,
else
ret = spi_qup_do_pio(spi, xfer, timeout);
- if (ret)
- goto exit;
-
-exit:
spi_qup_set_state(controller, QUP_STATE_RESET);
spin_lock_irqsave(&controller->lock, flags);
if (!ret)