diff mbox

spi/pl022: rid dangling labels

Message ID 4D711B70.3070008@linaro.org
State New
Headers show

Commit Message

Lee Jones March 4, 2011, 5:03 p.m. UTC
From: Linus Walleij <linus.walleij@linaro.org>

Remove a compilation error regarding unused labels that came about
when simplifying the DMA code.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/spi/amba-pl022.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c
index 4cd05cc..14a451b 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:
-- 
1.7.3.2