From 57cd69f2934a93cc2aa3e514a49db77403e244f1 Mon Sep 17 00:00:00 2001
From: Elyes HAOUAS <ehaouas@noos.fr>
Date: Sun, 30 Jan 2022 11:55:01 +0100
Subject: soc/qualcomm/ipq40xx/spi.c: Remove unuseful 'return' in void function

Change-Id: I0ca7cbbf6c4884b58b4ec8a8e3cbc77f118a42f2
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61487
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
---
 src/soc/qualcomm/ipq40xx/spi.c | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src')

diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c
index 31677e460f..0893dfc687 100644
--- a/src/soc/qualcomm/ipq40xx/spi.c
+++ b/src/soc/qualcomm/ipq40xx/spi.c
@@ -298,7 +298,6 @@ static void write_force_cs(const struct spi_slave *slave, int assert)
 		clrsetbits32(ds->regs->io_control,
 			SPI_IO_CTRL_FORCE_CS_MSK, SPI_IO_CTRL_FORCE_CS_DIS);
 
-	return;
 }
 
 /*
@@ -372,7 +371,6 @@ static void enable_io_config(struct ipq_spi_slave *ds,
 				QUP_CONF_INPUT_MSK, QUP_CONF_NO_INPUT);
 	}
 
-	return;
 }
 
 /*
-- 
cgit v1.2.3