Commit 5128de84 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Dmitry Torokhov

Input: cros_ec_keyb - remove an unused field in struct cros_ec_keyb

In "struct cros_ec_keyb", the 'keymap_data' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/6bab1449c01c4537aa2d9cb4481e1d5da8aa2389.1714546173.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f88f4a16
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
* @rows: Number of rows in the keypad * @rows: Number of rows in the keypad
* @cols: Number of columns in the keypad * @cols: Number of columns in the keypad
* @row_shift: log2 or number of rows, rounded up * @row_shift: log2 or number of rows, rounded up
* @keymap_data: Matrix keymap data used to convert to keyscan values
* @ghost_filter: true to enable the matrix key-ghosting filter * @ghost_filter: true to enable the matrix key-ghosting filter
* @valid_keys: bitmap of existing keys for each matrix column * @valid_keys: bitmap of existing keys for each matrix column
* @old_kb_state: bitmap of keys pressed last scan * @old_kb_state: bitmap of keys pressed last scan
...@@ -50,7 +49,6 @@ struct cros_ec_keyb { ...@@ -50,7 +49,6 @@ struct cros_ec_keyb {
unsigned int rows; unsigned int rows;
unsigned int cols; unsigned int cols;
int row_shift; int row_shift;
const struct matrix_keymap_data *keymap_data;
bool ghost_filter; bool ghost_filter;
uint8_t *valid_keys; uint8_t *valid_keys;
uint8_t *old_kb_state; uint8_t *old_kb_state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment