Skip to contentSkip to conversation

spi/pl022: rid dangling labels

PATCH New Linus Walleij 2 participants 2 messages Feb 16, 2011 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi/pl022: rid dangling labels

From: Linus Walleij <[email protected]>

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

---
 drivers/spi/amba-pl022.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/spi/amba-pl022.c +0 -2
index 4cd05cc..14a451b 100644
@@ -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:
Signature · 1 line
1.7.3.2
Applied
#1 lore raw

PATCH 1/1 spi/pl022: rid dangling labels

Quoted 6 lines · Linus Walleij

From: Linus Walleij <[email protected]>

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

Applied, thanks.

g.

Quoted 20 lines
---
 drivers/spi/amba-pl022.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/spi/amba-pl022.c +0 -2
index 4cd05cc..14a451b 100644
@@ -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:
Signature · 1 line
1.7.3.2