Unverified Commit 50f06cb1 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown
Browse files

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: 2d9a7446 ("spi: atmel: No need to call spi_master_put() if spi_alloc_master() failed")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200709101203.1374117-1-colin.king@canonical.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 60a883d1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}