summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptfs_hw.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/cryptfs_hw.cpp b/cryptfs_hw.cpp
index 5d233b9..c1d42c9 100644
--- a/cryptfs_hw.cpp
+++ b/cryptfs_hw.cpp
@@ -34,7 +34,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#include <linux/qseecom.h>
#include "cutils/log.h"
#include "cutils/properties.h"
#include <hardware/hardware.h>
@@ -50,7 +49,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;
@@ -62,12 +60,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)
{