spi/pl022: rid dangling labels
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Feb 2011 08:40:26 +0000 (09:40 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 22 Feb 2011 21:59:59 +0000 (14:59 -0700)
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>
drivers/spi/amba-pl022.c

index 4cd05cc05a55411cdf951ad413e07814221927c8..14a451b2ad63b59450ed08a12d36862f58fc8608 100644 (file)
@@ -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: