From: Christophe JAILLET Date: Wed, 1 May 2024 05:41:21 +0000 (+0200) Subject: Input: matrix_keypad - remove an unused field in struct matrix_keypad X-Git-Tag: v6.10-rc1~22^2^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9df327854920946897bcdfaec7e135c899e8028a;p=thirdparty%2Fkernel%2Flinux.git Input: matrix_keypad - remove an unused field in struct matrix_keypad In "struct matrix_keypad", the 'gpio_all_disabled' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/4f1a946789445500b6118b9ee1d6ef5255f8c696.1714542052.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 695c03e075b56..7a56f3d3aacd2 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c @@ -37,7 +37,6 @@ struct matrix_keypad { spinlock_t lock; bool scan_pending; bool stopped; - bool gpio_all_disabled; }; /*