Skip to content

Commit 99c9f0f

Browse files
tititiou36dtor
authored andcommitted
Input: tca6416-keypad - remove unused struct tca6416_drv_data
"struct tca6416_drv_data" is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/3e6fd1d0875ef3c90ecaab7adf7fd4a5e8e6f708.1714541432.git.christophe.jaillet@wanadoo.fr Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 9dee24d commit 99c9f0f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/input/keyboard/tca6416-keypad.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ static const struct i2c_device_id tca6416_id[] = {
3232
};
3333
MODULE_DEVICE_TABLE(i2c, tca6416_id);
3434

35-
struct tca6416_drv_data {
36-
struct input_dev *input;
37-
struct tca6416_button data[];
38-
};
39-
4035
struct tca6416_keypad_chip {
4136
uint16_t reg_output;
4237
uint16_t reg_direction;

0 commit comments

Comments
 (0)