]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
spi: atmel: remove redundant label out_free
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Jul 2020 10:12:03 +0000 (11:12 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2020 21:41:11 +0000 (22:41 +0100)
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>
drivers/spi/spi-atmel.c

index 6ed7abdcf74a1aed0d4c6119c78db90417a6bd05..2cfe6253a7846942d1963878d6b2ef08e6ccc248 100644 (file)
@@ -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;
 }