diff --git a/examples/platforms/efr32/src/entropy.c b/examples/platforms/efr32/src/entropy.c index 3a755e156..b9c629cb6 100644 --- a/examples/platforms/efr32/src/entropy.c +++ b/examples/platforms/efr32/src/entropy.c @@ -51,7 +51,6 @@ otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) // Non-zero return values for mbedtls_hardware_poll() signify an error has occurred otEXPECT_ACTION(0 == mbedtls_hardware_poll(NULL, &aOutput[outputLen], remaining, &partialLen), error = OT_ERROR_FAILED); - otEXPECT_ACTION(partialLen > 0, error = OT_ERROR_FAILED); } exit: