summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-02-16 09:40:26 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-02-22 14:59:59 -0700
commitc43766707ce26947934ae6bc4497ca5c16bc344f (patch)
treed4b2116c77c5fe3252b4be97bfa1063956261a0f /drivers/spi
parent5c05dd0750402f174302cf2b8cdf4111be080dcb (diff)
downloadtalos-obmc-linux-c43766707ce26947934ae6bc4497ca5c16bc344f.tar.gz
talos-obmc-linux-c43766707ce26947934ae6bc4497ca5c16bc344f.zip
spi/pl022: rid dangling labels
Remove a compilation error regarding unused labels that came about when simplifying the DMA code. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/amba-pl022.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c
index 4cd05cc05a55..14a451b2ad63 100644
--- a/drivers/spi/amba-pl022.c
+++ b/drivers/spi/amba-pl022.c
@@ -1030,8 +1030,6 @@ static int configure_dma(struct pl022 *pl022)
return 0;
-err_submit_tx:
-err_submit_rx:
err_txdesc:
dmaengine_terminate_all(txchan);
err_rxdesc:
OpenPOWER on IntegriCloud