diff --git a/arch/arm/src/cxd56xx/cxd56_sdhci.c b/arch/arm/src/cxd56xx/cxd56_sdhci.c index 65b4fe5e85..c59574cc27 100644 --- a/arch/arm/src/cxd56xx/cxd56_sdhci.c +++ b/arch/arm/src/cxd56xx/cxd56_sdhci.c @@ -3360,11 +3360,6 @@ void cxd56_sdhci_mediachange(struct sdio_dev_s *dev) if (cdstatus != priv->cdstatus) { - if (priv->cdstatus & SDIO_STATUS_PRESENT) - { - priv->cbevents &= SDIOMEDIA_INSERTED; - } - mediachange = 1; }