diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-07-03 13:14:40 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-07-03 13:14:40 +0200 |
commit | 1b0e45e5c4bbaa6154b22fac6706f28d2ca9c305 (patch) | |
tree | cab9d864c24d8a96280b8e03afec18644454c3d7 /samsung-ipc | |
parent | daf82414ce1343212f38c7d854af9e286e2b148e (diff) | |
download | external_libsamsung-ipc-1b0e45e5c4bbaa6154b22fac6706f28d2ca9c305.zip external_libsamsung-ipc-1b0e45e5c4bbaa6154b22fac6706f28d2ca9c305.tar.gz external_libsamsung-ipc-1b0e45e5c4bbaa6154b22fac6706f28d2ca9c305.tar.bz2 |
sec: Proper prefixes and unused function removal
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r-- | samsung-ipc/sec.c | 17 |
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) { |