diff --git a/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp b/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp index 2fd729f5fc..917544e36a 100644 --- a/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp +++ b/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp @@ -142,15 +142,6 @@ #include "mbed_debug.h" #include -/* Required version: 5.9.0 and above */ -#if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5 -#if (MBED_VERSION < MBED_ENCODE_VERSION(5,9,0)) -#error "Incompatible mbed-os version detected! Required 5.9.0 and above" -#endif -#else -#warning "mbed-os version 5.9.0 or above required" -#endif - #ifndef MBED_CONF_SD_CMD_TIMEOUT #define MBED_CONF_SD_CMD_TIMEOUT 5000 /*!< Timeout in ms for response */ #endif