summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 2af64e3f..000c7fc6 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1666,11 +1666,6 @@ drmmode_output_create_resources(xf86OutputPtr output)
}
}
- drmmode_output->props =
- calloc(mode_output->count_props + 1, sizeof(drmmode_prop_rec));
- if (!drmmode_output->props)
- return;
-
drmmode_output->props = calloc(mode_output->count_props + 1, sizeof(drmmode_prop_rec));
if (!drmmode_output->props)
return;