[mutter] crtc/kms: Remove unused field formats_prop_id
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] crtc/kms: Remove unused field formats_prop_id
- Date: Wed, 30 Jan 2019 12:58:35 +0000 (UTC)
commit 31d99c51cb5faf6cbec9b0633ef4e8531d31891e
Author: Pekka Paalanen <pekka paalanen collabora com>
Date: Mon Nov 19 12:42:10 2018 +0200
crtc/kms: Remove unused field formats_prop_id
It was set but never used.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/341
src/backends/native/meta-crtc-kms.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/backends/native/meta-crtc-kms.c b/src/backends/native/meta-crtc-kms.c
index ba038cd02..2cc477808 100644
--- a/src/backends/native/meta-crtc-kms.c
+++ b/src/backends/native/meta-crtc-kms.c
@@ -40,7 +40,6 @@ typedef struct _MetaCrtcKms
uint32_t underscan_hborder_prop_id;
uint32_t underscan_vborder_prop_id;
uint32_t primary_plane_id;
- uint32_t formats_prop_id;
uint32_t rotation_prop_id;
uint32_t rotation_map[ALL_TRANSFORMS];
uint32_t all_hw_transforms;
@@ -370,7 +369,6 @@ init_crtc_rotations (MetaCrtc *crtc,
"IN_FORMATS", &prop);
if (fmts_idx >= 0)
{
- crtc_kms->formats_prop_id = props->props[fmts_idx];
parse_formats (crtc, kms_fd, props->prop_values[fmts_idx]);
drmModeFreeProperty (prop);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]