aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2024-10-08 09:16:39 +0100
committerenen92 <92enen@gmail.com>2024-10-08 09:16:56 +0100
commit05548762e507940a7b8b22abd1fd31387d6b56bf (patch)
tree130794cb9471903b71cd410ce3497c06fac9b9bf
parentd59dbc43e488dbea13a1ac88138462ff3194dace (diff)
[Discs] Remove dead code
-rw-r--r--xbmc/storage/DetectDVDType.cpp7
-rw-r--r--xbmc/storage/DetectDVDType.h1
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;