aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/sec.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index ace155b..1570836 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -119,23 +119,6 @@ int ipc_sec_change_locking_pw_setup(struct ipc_sec_change_locking_pw_data *data,
return 0;
}
-void *ipc_sec_rsim_access_file_data_extract(const void *data, size_t size)
-{
- struct ipc_sec_rsim_access_response_header *header;
- void *file_data;
-
- if (data == NULL || size < sizeof(struct ipc_sec_rsim_access_response_header))
- return NULL;
-
- header = (struct ipc_sec_rsim_access_response_header *) data;
-
- file_data = calloc(1, header->length);
-
- memcpy(file_data, (void *) ((unsigned char *) data + sizeof(struct ipc_sec_rsim_access_response_header)), header->length);
-
- return file_data;
-}
-
int ipc_sec_lock_infomation_setup(struct ipc_sec_lock_infomation_request_data *data,
unsigned char type)
{