aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
index 01f894970..faa5fa1cc 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
@@ -440,7 +440,6 @@ void spi_lld_start(SPIDriver *spip) {
* @notapi
*/
void spi_lld_stop(SPIDriver *spip) {
- uint32_t cr1;
/* If in ready state then disables the SPI clock.*/
if (spip->state == SPI_READY) {