From 698b0fc5e6e8842390d46433861e5db838ab2c62 Mon Sep 17 00:00:00 2001 From: Neeraj Soni Date: Thu, 29 Aug 2019 16:11:14 +0530 Subject: cryptfs_hw: remove kernel dependency With new hal for vold, kernel specific defines and header files are not needed. Change-Id: Ic4ba42c84131bff3b6750736521a776e1bd404f0 Signed-off-by: Neeraj Soni --- cryptfs_hw.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cryptfs_hw.cpp b/cryptfs_hw.cpp index 2d9af7a..6cd634d 100644 --- a/cryptfs_hw.cpp +++ b/cryptfs_hw.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include "cutils/log.h" #include "cutils/properties.h" #include "cryptfs_hw.h" @@ -46,7 +45,6 @@ using ::android::hardware::Void; #define QTI_ICE_STORAGE_UFS 1 #define QTI_ICE_STORAGE_SDCC 2 -#ifdef QSEECOM_IOCTL_SET_ICE_INFO int set_ice_param(int flag) { int rc = -1; @@ -58,12 +56,6 @@ int set_ice_param(int flag) rc = cryptfshwService->setIceParam(flag); return rc; } -#else -int set_ice_param(int flag) -{ - return -1; -} -#endif int set_hw_device_encryption_key(const char* passwd, const char* enc_mode) { -- cgit v1.2.3