aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;