From 1b0e45e5c4bbaa6154b22fac6706f28d2ca9c305 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 3 Jul 2014 13:14:40 +0200 Subject: sec: Proper prefixes and unused function removal Signed-off-by: Paul Kocialkowski --- samsung-ipc/sec.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'samsung-ipc') 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) { -- cgit v1.1