From d605b2ea077f00dfa343e824610fad0c01232fbd Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 4 Sep 2018 22:49:54 +0200 Subject: [PATCH] backend/drm: remove unused if --- backend/drm/util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/drm/util.c b/backend/drm/util.c index 52972fdd..66819c96 100644 --- a/backend/drm/util.c +++ b/backend/drm/util.c @@ -228,9 +228,6 @@ static bool match_obj_(struct match_state *st, size_t skips, size_t score, size_ st->replaced = replaced; memcpy(st->best, st->res, sizeof(st->best[0]) * st->num_res); - if (st->score == st->num_objs && st->replaced == 0) { - st->exit_early = true; - } st->exit_early = (st->score == st->num_res - skips || st->score == st->num_objs) && st->replaced == 0;