From 8f7eeac89d3cd391169e0a2c1556f6cde028e918 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 11 Mar 2018 13:41:19 -0700 Subject: [PATCH] lib: Fixes compilation warning in aes2501 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes ``` drivers/aes2501.c:671:34: warning: ‘init_3’ defined but not used [-Wunused-const-variable=] ``` https://bugs.freedesktop.org/show_bug.cgi?id=105429 --- libfprint/drivers/aes2501.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c index f6e3edf..438a502 100644 --- a/libfprint/drivers/aes2501.c +++ b/libfprint/drivers/aes2501.c @@ -668,6 +668,7 @@ static const struct aes_regwrite init_2[] = { { AES2501_REG_CTRL1, AES2501_CTRL1_REG_UPDATE }, }; +/* static const struct aes_regwrite init_3[] = { { 0xff, 0x00 }, { AES2501_REG_CTRL1, AES2501_CTRL1_MASTER_RESET }, @@ -676,6 +677,7 @@ static const struct aes_regwrite init_3[] = { { AES2501_REG_DETCTRL, 0x53 }, { AES2501_REG_CTRL1, AES2501_CTRL1_REG_UPDATE }, }; +*/ static const struct aes_regwrite init_4[] = { { AES2501_REG_CTRL1, AES2501_CTRL1_MASTER_RESET }, -- 2.14.3