summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-30 11:55:01 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-01 18:07:49 +0000
commit57cd69f2934a93cc2aa3e514a49db77403e244f1 (patch)
tree6359d14d7a7ae56e5e9e4a7655ff14bee456d246
parentfacb9e4dca2d296766709a8df635d4117c79afe8 (diff)
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>
-rw-r--r--src/soc/qualcomm/ipq40xx/spi.c2
1 files changed, 0 insertions, 2 deletions
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;
}
/*