From a70ab95eeaf61594594a57e4de957dac47889c96 Mon Sep 17 00:00:00 2001 From: Sasha Levitskiy Date: Tue, 2 Jun 2015 11:29:12 -0700 Subject: Fingerprint: Remove unused API elements. Change-Id: Iba2f6a5bc7a2923c3e9b92684a2fab2190f14fd5 Signed-off-by: Sasha Levitskiy --- include/hardware/fingerprint.h | 28 +--------------------------- modules/fingerprint/fingerprint.c | 2 +- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/include/hardware/fingerprint.h b/include/hardware/fingerprint.h index 869502e..1fb803a 100644 --- a/include/hardware/fingerprint.h +++ b/include/hardware/fingerprint.h @@ -56,38 +56,12 @@ typedef struct fingerprint_finger_id { uint32_t fid; } fingerprint_finger_id_t; -/* The progress indication may be augmented by a bitmap encoded indication -* of what finger area is considered as collected. -* Bit numbers mapped to physical location: -* -* distal -* +--+--+--+--+--+ -* | 4| 3| 2| 1| 0| -* | 9| 8| 7| 6| 5| -* medial |14|13|12|11|10| lateral -* |19|18|17|16|15| -* |24|23|22|21|20| -* +--+--+--+--+--+ -* proximal -* -*/ -typedef uint32_t finger_map_bmp; - -typedef enum fingerprint_enroll_msg_type { - FINGERPRINT_ENROLL_MSG_NONE = 0, - FINGERPRINT_ENROLL_MSG_PREDEFINED = 1, /* TODO: define standard enroll cues */ - FINGERPRINT_ENROLL_MSG_BITMAP = 2, /* typeof(fingerprint_enroll.msg) == *finger_map_bmp */ - FINGERPRINT_ENROLL_MSG_VENDOR = 3 -} fingerprint_enroll_msg_type_t; - typedef struct fingerprint_enroll { fingerprint_finger_id_t finger; /* samples_remaining goes from N (no data collected, but N scans needed) * to 0 (no more data is needed to build a template). */ uint32_t samples_remaining; - fingerprint_enroll_msg_type_t msg_type; - size_t msg_size; - void *msg; + uint64_t msg; /* Vendor specific message. Used for user guidance */ } fingerprint_enroll_t; typedef struct fingerprint_removed { diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c index 33ede62..e81b182 100644 --- a/modules/fingerprint/fingerprint.c +++ b/modules/fingerprint/fingerprint.c @@ -58,7 +58,7 @@ static int fingerprint_remove(struct fingerprint_device __unused *dev, } static int fingerprint_set_active_group(struct fingerprint_device __unused *dev, - uint32_t __unused gid) { + uint32_t __unused gid, const char __unused *store_path) { return FINGERPRINT_ERROR; } -- cgit v1.1