Input: xpad - remove unused field in VID/PID table
authorVicki Pfau <vi@endrift.com>
Fri, 24 Mar 2023 01:31:40 +0000 (18:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2023 01:50:54 +0000 (18:50 -0700)
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>
drivers/input/joystick/xpad.c

index f642ec8..a1f23da 100644 (file)
@@ -126,7 +126,6 @@ static const struct xpad_device {
        char *name;
        u8 mapping;
        u8 xtype;
-       u8 packet_type;
 } xpad_device[] = {
        { 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 },
        { 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 },