From ebff2518ad9950db2c538ca70064516f48e5dee6 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 12 Jun 2019 13:42:28 +0200 Subject: [PATCH] fixup! Simplify Synaptics driver remove unused cancel_resp function from synaptics.c --- libfprint/drivers/synaptics/synaptics.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libfprint/drivers/synaptics/synaptics.c b/libfprint/drivers/synaptics/synaptics.c index d9c299c..f0b33c5 100644 --- a/libfprint/drivers/synaptics/synaptics.c +++ b/libfprint/drivers/synaptics/synaptics.c @@ -67,23 +67,6 @@ static int finger_event_callback(bmkt_finger_event_t *event, void *ctx) return BMKT_SUCCESS; } -static int cancel_resp(bmkt_response_t *resp, void *ctx) -{ - - switch (resp->response_id) - { - case BMKT_RSP_CANCEL_OP_OK: - fp_info("Successfully canceled operation"); - break; - case BMKT_RSP_CANCEL_OP_FAIL: - fp_info("Failed to cancel current operation: %d", resp->result); - break; - } - - return 0; -} - - struct syna_mis_print_data { uint8_t finger_id;