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) {