diff --git a/src/utils.c b/src/utils.c index 22b29af..1187749 100644 --- a/src/utils.c +++ b/src/utils.c @@ -134,13 +134,11 @@ bool gsr_get_valid_card_path(char *output) { found_screen_card = true; drmModeFreePlane(plane); - if(found_screen_card) break; } close(fd); - if(found_screen_card) return true; }