Skip to content

Commit

Permalink
spi/pl022: rid dangling labels
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Grant Likely committed Feb 22, 2011
1 parent 5c05dd0 commit c437667
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/amba-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c437667

Please sign in to comment.