[mutter/wip/rstrode/rhel-8.0.0: 23/30] crtc/kms: Remove unused field formats_prop_id



commit 77b0dbeec584c54a626f4cfe10f16244c55c6ef8
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 833fb1c5c..29ffc8c37 100644
--- a/src/backends/native/meta-crtc-kms.c
+++ b/src/backends/native/meta-crtc-kms.c
@@ -42,7 +42,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;
@@ -372,7 +371,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]