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 unused struct tca6416_drv_data

"struct tca6416_drv_data" is unused.
Remove it.

Found with cppcheck, unusedStructMember.

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

authored by

Christophe JAILLET and committed by
Dmitry Torokhov
99c9f0fb 9dee24d2

-5
-5
drivers/input/keyboard/tca6416-keypad.c
··· 32 32 }; 33 33 MODULE_DEVICE_TABLE(i2c, tca6416_id); 34 34 35 - struct tca6416_drv_data { 36 - struct input_dev *input; 37 - struct tca6416_button data[]; 38 - }; 39 - 40 35 struct tca6416_keypad_chip { 41 36 uint16_t reg_output; 42 37 uint16_t reg_direction;