diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-07-09 13:12:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-10 00:41:11 +0300 |
commit | 50f06cb1dd82f13a1d3897a327dcd7963ea75707 (patch) | |
tree | 599ac740d3122db50637bc933a662f211d4966b7 /drivers/spi/spi-atmel.c | |
parent | 60a883d119ab9ef63f830c85bbd2f0e2e2314f4f (diff) | |
download | linux-50f06cb1dd82f13a1d3897a327dcd7963ea75707.tar.xz |
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.c | 1 |
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; } |