From 4cf73fcfedad455373d3131eff152437fc020432 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Fri, 17 Feb 2023 22:57:38 +0100 Subject: [PATCH] backends/native: Remove unused meta_kms_crtc_has_gamma Part-of: --- src/backends/native/meta-kms-crtc.c | 7 ------- src/backends/native/meta-kms-crtc.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/backends/native/meta-kms-crtc.c b/src/backends/native/meta-kms-crtc.c index eee86d41b..e702f443e 100644 --- a/src/backends/native/meta-kms-crtc.c +++ b/src/backends/native/meta-kms-crtc.c @@ -101,13 +101,6 @@ meta_kms_crtc_is_active (MetaKmsCrtc *crtc) return crtc->current_state.is_active; } - -gboolean -meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc) -{ - return crtc->current_state.gamma.size > 0; -} - static void read_gamma_state (MetaKmsCrtc *crtc, MetaKmsCrtcState *crtc_state, diff --git a/src/backends/native/meta-kms-crtc.h b/src/backends/native/meta-kms-crtc.h index 54801dd96..218bec9a1 100644 --- a/src/backends/native/meta-kms-crtc.h +++ b/src/backends/native/meta-kms-crtc.h @@ -71,8 +71,6 @@ uint32_t meta_kms_crtc_get_id (MetaKmsCrtc *crtc); int meta_kms_crtc_get_idx (MetaKmsCrtc *crtc); -gboolean meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc); - META_EXPORT_TEST gboolean meta_kms_crtc_is_active (MetaKmsCrtc *crtc);