Skip to content

Commit 907d73b

Browse files
endriftdtor
authored andcommitted
Input: xpad - remove unused field in VID/PID table
The list of specific VID/PID combinations for various controllers recently added a new field "xtype". However, this field isn't used, nor filled in the table itself, and was likely added by mistake and overlooked during review. Since this field isn't used, it's safe to remove. Signed-off-by: Vicki Pfau <vi@endrift.com> Link: https://lore.kernel.org/r/20230225012147.276489-3-vi@endrift.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 6906f50 commit 907d73b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/input/joystick/xpad.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ static const struct xpad_device {
126126
char *name;
127127
u8 mapping;
128128
u8 xtype;
129-
u8 packet_type;
130129
} xpad_device[] = {
131130
{ 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 },
132131
{ 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 },

0 commit comments

Comments
 (0)