summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-atmel.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-07-09 11:12:03 +0100
committerMark Brown <broonie@kernel.org>2020-07-09 22:41:11 +0100
commit50f06cb1dd82f13a1d3897a327dcd7963ea75707 (patch)
tree599ac740d3122db50637bc933a662f211d4966b7 /drivers/spi/spi-atmel.c
parent60a883d119ab9ef63f830c85bbd2f0e2e2314f4f (diff)
downloadlinux-50f06cb1dd82f13a1d3897a327dcd7963ea75707.tar.bz2
spi: atmel: remove redundant label out_free
The error exit label out_free is no longer being used, it is redundant and can be removed. Cleans up warning: drivers/spi/spi-atmel.c:1680:1: warning: label ‘out_free’ defined but not used [-Wunused-label] Fixes: 2d9a744685bc ("spi: atmel: No need to call spi_master_put() if spi_alloc_master() failed") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20200709101203.1374117-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
-rw-r--r--drivers/spi/spi-atmel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 6ed7abdcf74a..2cfe6253a784 100644
--- a/drivers/spi/spi-atmel.c
+++ b/drivers/spi/spi-atmel.c
@@ -1677,7 +1677,6 @@ out_free_dma:
clk_disable_unprepare(clk);
out_free_irq:
out_unmap_regs:
-out_free:
spi_master_put(master);
return ret;
}