Skip to content

Commit 1b487dc

Browse files
Colin Ian Kingambarus
authored andcommitted
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: 2d9a744 ("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> (cherry picked from commit 50f06cb) Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
1 parent 1084715 commit 1b487dc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/spi/spi-atmel.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,6 @@ static int atmel_spi_probe(struct platform_device *pdev)
16561656
clk_disable_unprepare(clk);
16571657
out_free_irq:
16581658
out_unmap_regs:
1659-
out_free:
16601659
spi_master_put(master);
16611660
return ret;
16621661
}

0 commit comments

Comments
 (0)