From ca544c9cee4811f37acfe1cc7a74a21b291f972c Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 30 Jan 2022 11:50:23 +0100 Subject: [PATCH] drivers/spi/spiconsole.c: Remove unuseful 'return' in void function Change-Id: Ie5c83f16146517d0aa37cd1975de725f57323094 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61484 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/drivers/spi/spiconsole.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/drivers/spi/spiconsole.c b/src/drivers/spi/spiconsole.c index 99c6aace25..1fe83f66e7 100644 --- a/src/drivers/spi/spiconsole.c +++ b/src/drivers/spi/spiconsole.c @@ -9,7 +9,6 @@ static struct spi_slave slave; void spiconsole_init(void) { spi_init(); spi_setup_slave(0, 0, &slave); - return; } /* @@ -49,6 +48,4 @@ void spiconsole_tx_byte(unsigned char c) { msg.header.msg_length = 0; } - - return; }