Skip to content

Commit 9dee24d

Browse files
tititiou36dtor
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/926c0f40040671565dcc54d5146a8f9511fb6d46.1714541432.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 8a22f96 commit 9dee24d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/input/keyboard/tca6416-keypad.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ struct tca6416_keypad_chip {
4545
struct i2c_client *client;
4646
struct input_dev *input;
4747
int io_size;
48-
int irqnum;
4948
u16 pinmask;
5049
bool use_polling;
5150
struct tca6416_button buttons[];

0 commit comments

Comments
 (0)