From: Linus Walleij Date: Wed, 16 Feb 2011 08:40:26 +0000 (+0100) Subject: spi/pl022: rid dangling labels X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c43766707ce26947934ae6bc4497ca5c16bc344f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Grant Likely --- diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 4cd05cc05a5..14a451b2ad6 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: