Input: tca6416-keypad - remove an unused field in struct tca6416_keypad_chip
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 05:30:54 +0000 (07:30 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 May 2024 22:41:28 +0000 (15:41 -0700)
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>
drivers/input/keyboard/tca6416-keypad.c

index 677bc4baa5d19521e010f68f388c780917c9c9c9..044401d01bf64f5c7eb0c85a462049069f03932f 100644 (file)
@@ -45,7 +45,6 @@ struct tca6416_keypad_chip {
        struct i2c_client *client;
        struct input_dev *input;
        int io_size;
-       int irqnum;
        u16 pinmask;
        bool use_polling;
        struct tca6416_button buttons[];