From 05548762e507940a7b8b22abd1fd31387d6b56bf Mon Sep 17 00:00:00 2001 From: enen92 <92enen@gmail.com> Date: Tue, 8 Oct 2024 09:16:39 +0100 Subject: [Discs] Remove dead code --- xbmc/storage/DetectDVDType.cpp | 7 ------- xbmc/storage/DetectDVDType.h | 1 - 2 files changed, 8 deletions(-) diff --git a/xbmc/storage/DetectDVDType.cpp b/xbmc/storage/DetectDVDType.cpp index 3a3a3a08a8..91fd7deecb 100644 --- a/xbmc/storage/DetectDVDType.cpp +++ b/xbmc/storage/DetectDVDType.cpp @@ -389,13 +389,6 @@ void CDetectDVDMedia::WaitMediaReady() std::unique_lock waitLock(m_muReadingMedia); } -// Static function -// Returns status of the DVD Drive -bool CDetectDVDMedia::DriveReady() -{ - return m_DriveState == DriveState::READY; -} - DriveState CDetectDVDMedia::GetDriveState() { return m_DriveState; diff --git a/xbmc/storage/DetectDVDType.h b/xbmc/storage/DetectDVDType.h index 500a10f574..a97944509f 100644 --- a/xbmc/storage/DetectDVDType.h +++ b/xbmc/storage/DetectDVDType.h @@ -42,7 +42,6 @@ public: static void WaitMediaReady(); static bool IsDiscInDrive(); - static bool DriveReady(); static DriveState GetDriveState(); static CCdInfo* GetCdInfo(); static CEvent m_evAutorun; -- cgit v1.2.3