diff --git a/src/sentinel.c b/src/sentinel.c index 49adcc05c..f5795f53d 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -5109,11 +5109,6 @@ void sentinelHandleRedisInstance(sentinelRedisInstance *ri) { /* Every kind of instance */ sentinelCheckSubjectivelyDown(ri); - /* Primaries and replicas */ - if (ri->flags & (SRI_PRIMARY | SRI_REPLICA)) { - /* Nothing so far. */ - } - /* Only primaries */ if (ri->flags & SRI_PRIMARY) { sentinelCheckObjectivelyDown(ri);