diff options
author | Miguel Borges de Freitas <92enen@gmail.com> | 2024-10-08 21:15:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 21:15:41 +0100 |
commit | b4e65aaef8ce82de38caaa3185fa4dad16bc93c2 (patch) | |
tree | 6d0ba9040c0a29ae0b81f8811db52e2edf022856 | |
parent | 90942fa1da3c16cb8c037f7ecfa9c150e98bd03d (diff) | |
parent | 05548762e507940a7b8b22abd1fd31387d6b56bf (diff) |
Merge pull request #25804 from enen92/discs_cleanup_deadcode
[Discs] Remove dead code
-rw-r--r-- | xbmc/storage/DetectDVDType.cpp | 7 | ||||
-rw-r--r-- | xbmc/storage/DetectDVDType.h | 1 |
2 files changed, 0 insertions, 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<CCriticalSection> 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; |