From f9f7aee79eecdb610d71a8f2703de43e90018e5b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Feb 2022 00:17:53 +0900 Subject: Removed HAL dependant code. Signed-off-by: Michele Calgaro --- tdeioslave/media/mediaimpl.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tdeioslave/media/mediaimpl.cpp') diff --git a/tdeioslave/media/mediaimpl.cpp b/tdeioslave/media/mediaimpl.cpp index ff66375aa..aacbcc5e2 100644 --- a/tdeioslave/media/mediaimpl.cpp +++ b/tdeioslave/media/mediaimpl.cpp @@ -230,15 +230,6 @@ bool MediaImpl::ensureMediumMounted(Medium &medium) return false; } -#ifdef COMPILE_HALBACKEND - if ( medium.isEncrypted() && medium.clearDeviceUdi().isEmpty() ) - { - m_lastErrorCode = TDEIO::ERR_COULD_NOT_MOUNT; - m_lastErrorMessage = i18n("The drive is encrypted."); - return false; - } -#endif // COMPILE_HALBACKEND - if ( medium.needMounting() ) { m_lastErrorCode = 0; -- cgit v1.2.1