From f2289bbcbbbddfd248c5e0858e148d7cc7336f8a Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 3 Aug 2017 14:57:43 +0200 Subject: [PATCH] kms: Remove unused member variable Task-number: QTBUG-62262 Change-Id: Ia0bdac0ebca1a2e1bf2ae8e7cd4db22bf9c445de Reviewed-by: Andy Nichols --- src/platformsupport/kmsconvenience/qkmsdevice.cpp | 2 -- src/platformsupport/kmsconvenience/qkmsdevice_p.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/platformsupport/kmsconvenience/qkmsdevice.cpp b/src/platformsupport/kmsconvenience/qkmsdevice.cpp index 8d8be4a919..401a2aec81 100644 --- a/src/platformsupport/kmsconvenience/qkmsdevice.cpp +++ b/src/platformsupport/kmsconvenience/qkmsdevice.cpp @@ -403,7 +403,6 @@ QPlatformScreen *QKmsDevice::createScreenForConnector(drmModeResPtr resources, } m_crtc_allocator |= (1 << output.crtc_id); - m_connector_allocator |= (1 << output.connector_id); vinfo->output = output; @@ -448,7 +447,6 @@ QKmsDevice::QKmsDevice(QKmsScreenConfig *screenConfig, const QString &path) , m_path(path) , m_dri_fd(-1) , m_crtc_allocator(0) - , m_connector_allocator(0) { if (m_path.isEmpty()) { m_path = m_screenConfig->devicePath(); diff --git a/src/platformsupport/kmsconvenience/qkmsdevice_p.h b/src/platformsupport/kmsconvenience/qkmsdevice_p.h index 14e430351c..390cc52e4d 100644 --- a/src/platformsupport/kmsconvenience/qkmsdevice_p.h +++ b/src/platformsupport/kmsconvenience/qkmsdevice_p.h @@ -168,7 +168,6 @@ protected: int m_dri_fd; quint32 m_crtc_allocator; - quint32 m_connector_allocator; private: Q_DISABLE_COPY(QKmsDevice)