From 1c3fafca1cb158cd4fb32241b4b552bf945b77fa Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 11 Mar 2018 13:40:39 -0700 Subject: [PATCH] aes1610: Fix compilation warning in aes1610 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: drivers/aes1610.c:736:34: warning: ‘stop_reader’ defined but not used [-Wunused-const-variable=] https://bugs.freedesktop.org/show_bug.cgi?id=105429 --- libfprint/drivers/aes1610.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c index 50bc483..e79506c 100644 --- a/libfprint/drivers/aes1610.c +++ b/libfprint/drivers/aes1610.c @@ -733,10 +733,11 @@ static const struct aes_regwrite init[] = { { 0x82, 0x00 } }; +/* static const struct aes_regwrite stop_reader[] = { { 0xFF, 0x00 } }; - +*/ enum activate_states { WRITE_INIT, -- 2.17.0