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

Configure Feed

Select the types of activity you want to include in your feed.

Input: tca6416-keypad - remove an unused field in struct tca6416_keypad_chip

In "struct tca6416_keypad_chip", the 'irqnum' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/926c0f40040671565dcc54d5146a8f9511fb6d46.1714541432.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Christophe JAILLET and committed by
Dmitry Torokhov
9dee24d2 8a22f960

-1
-1
drivers/input/keyboard/tca6416-keypad.c
··· 45 45 struct i2c_client *client; 46 46 struct input_dev *input; 47 47 int io_size; 48 - int irqnum; 49 48 u16 pinmask; 50 49 bool use_polling; 51 50 struct tca6416_button buttons[];