aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 0 insertions, 2 deletions
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;
}