diff options
author | Neeraj Soni <neersoni@codeaurora.org> | 2019-08-29 16:11:14 +0530 |
---|---|---|
committer | Neeraj Soni <neersoni@codeaurora.org> | 2019-08-29 16:11:14 +0530 |
commit | 698b0fc5e6e8842390d46433861e5db838ab2c62 (patch) | |
tree | 27b54d55ef919191b356ed51064fad808fccfbaf /cryptfs_hw.cpp | |
parent | 6b99d61baaee529c181a663a5f205b66c91141ff (diff) | |
download | android_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.tar.gz android_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.tar.bz2 android_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.zip |
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 <neersoni@codeaurora.org>
Diffstat (limited to 'cryptfs_hw.cpp')
-rw-r--r-- | cryptfs_hw.cpp | 8 |
1 files changed, 0 insertions, 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 <sys/stat.h> #include <fcntl.h> #include <errno.h> -#include <linux/qseecom.h> #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) { |