diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-01-30 11:50:23 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-01 18:05:27 +0000 |
commit | ca544c9cee4811f37acfe1cc7a74a21b291f972c (patch) | |
tree | 21147eabe6866dcceb56fe2979aac5c308598e7e /src/drivers | |
parent | 45f512c8e00cf57f1b6a42a9468e11b16cc02773 (diff) |
drivers/spi/spiconsole.c: Remove unuseful 'return' in void function
Change-Id: Ie5c83f16146517d0aa37cd1975de725f57323094
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61484
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/spi/spiconsole.c | 3 |
1 files changed, 0 insertions, 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; } |