HAL: Drops unused variable

pull/12345/head
Veijo Pesonen 2020-01-31 10:19:36 +02:00
parent dad7d851db
commit 4278de1f54
1 changed files with 0 additions and 1 deletions

View File

@ -78,7 +78,6 @@ MBED_WEAK void spi_get_capabilities(PinName ssel, bool slave, spi_capabilities_t
// check if given ssel pin is in the cs pinmap
const PinMap *cs_pins = spi_master_cs_pinmap();
PinName pin = NC;
while (cs_pins->pin != NC) {
if (cs_pins->pin == ssel) {
#if DEVICE_SPISLAVE