summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeeraj Soni <neersoni@codeaurora.org>2019-08-29 10:41:14 (GMT)
committerNeeraj Soni <neersoni@codeaurora.org>2019-08-29 10:41:14 (GMT)
commit698b0fc5e6e8842390d46433861e5db838ab2c62 (patch)
tree27b54d55ef919191b356ed51064fad808fccfbaf
parent6b99d61baaee529c181a663a5f205b66c91141ff (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.zip
android_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-698b0fc5e6e8842390d46433861e5db838ab2c62.tar.bz2
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>
-rw-r--r--cryptfs_hw.cpp8
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)
{