aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-10 17:15:59 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-10 17:15:59 +0200
commit0b79f144432f417fdf984b27bca5b365fcb36dd7 (patch)
tree0b3dcb68d46f5e77f5021e9b3b651c9a50c441de /src
parentf0710b1e1c0e1116f6e97a7eca78dec23005a052 (diff)
p
Diffstat (limited to 'src')
-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;
}