Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4f1a946789445500b6118b9ee1d6ef5255f8c696.1714542052.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Christophe JAILLET and committed by
Dmitry Torokhov
9df32785 99c9f0fb

-1
-1
drivers/input/keyboard/matrix_keypad.c
··· 37 37 spinlock_t lock; 38 38 bool scan_pending; 39 39 bool stopped; 40 - bool gpio_all_disabled; 41 40 }; 42 41 43 42 /*