diff options
author | 2024-05-01 07:30:54 +0200 | |
---|---|---|
committer | 2024-05-06 15:41:28 -0700 | |
commit | 9dee24d24828d22159771de3df7d9e1844715838 (patch) | |
tree | 1e7b9e93dfb9370383bb1130466b47c542e435dd | |
parent | Input: da7280 - remove an unused field in struct da7280_haptic (diff) | |
download | wireguard-linux-9dee24d24828d22159771de3df7d9e1844715838.tar.xz wireguard-linux-9dee24d24828d22159771de3df7d9e1844715838.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/input/keyboard/tca6416-keypad.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c index 677bc4baa5d1..044401d01bf6 100644 --- a/drivers/input/keyboard/tca6416-keypad.c +++ b/drivers/input/keyboard/tca6416-keypad.c @@ -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[]; |