diff --git a/src/sentinel.c b/src/sentinel.c index 3d5c3861c08..4d7154328d3 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -5312,12 +5312,7 @@ void sentinelHandleRedisInstance(sentinelRedisInstance *ri) { /* Every kind of instance */ sentinelCheckSubjectivelyDown(ri); - - /* Masters and slaves */ - if (ri->flags & (SRI_MASTER|SRI_SLAVE)) { - /* Nothing so far. */ - } - + /* Only masters */ if (ri->flags & SRI_MASTER) { sentinelCheckObjectivelyDown(ri);