From 5a33e9843198338218a75762c7464a0005899a69 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Wed, 26 Jul 2023 17:58:03 +0800 Subject: [PATCH] kms/update: Remove unused is_flushing function Part-of: --- src/backends/native/meta-kms-update.c | 7 ------- src/backends/native/meta-kms-update.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/src/backends/native/meta-kms-update.c b/src/backends/native/meta-kms-update.c index 33968ee83..7658db0ca 100644 --- a/src/backends/native/meta-kms-update.c +++ b/src/backends/native/meta-kms-update.c @@ -1092,13 +1092,6 @@ meta_kms_update_set_flushing (MetaKmsUpdate *update, update_latch_crtc (update, crtc); } -gboolean -meta_kms_update_is_flushing (MetaKmsUpdate *update, - MetaKmsCrtc *crtc) -{ - return update->latch_crtc == crtc; -} - MetaKmsCrtc * meta_kms_update_get_latch_crtc (MetaKmsUpdate *update) { diff --git a/src/backends/native/meta-kms-update.h b/src/backends/native/meta-kms-update.h index b71f60a13..5550158e9 100644 --- a/src/backends/native/meta-kms-update.h +++ b/src/backends/native/meta-kms-update.h @@ -111,9 +111,6 @@ void meta_kms_update_free (MetaKmsUpdate *update); void meta_kms_update_set_flushing (MetaKmsUpdate *update, MetaKmsCrtc *crtc); -gboolean meta_kms_update_is_flushing (MetaKmsUpdate *update, - MetaKmsCrtc *crtc); - META_EXPORT_TEST MetaKmsDevice * meta_kms_update_get_device (MetaKmsUpdate *update);