From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E16F1C6FA8E for ; Sat, 25 Feb 2023 01:22:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229496AbjBYBWW (ORCPT ); Fri, 24 Feb 2023 20:22:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbjBYBWV (ORCPT ); Fri, 24 Feb 2023 20:22:21 -0500 Received: from endrift.com (endrift.com [173.255.198.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7D8A5583 for ; Fri, 24 Feb 2023 17:22:20 -0800 (PST) Received: from nebulosa.vulpes.eutheria.net (unknown [50.47.218.115]) by endrift.com (Postfix) with ESMTPSA id E010FA2AC; Fri, 24 Feb 2023 17:22:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=endrift.com; s=2020; t=1677288140; bh=MehVff0Xk6uIWCLJaKhlDyABzpbF7sin7qcyCjdoHhI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NkTXvKPqPvWO3hj5HayZNbzz/RG7oFCdxs4ioqM0HCjkaIeS739/iCX2nsNFQ2Z1m g7oWRKjn0J+AC1oRBug1UqUTzsZI56sadYmodmH8gdEM/n1xSvOTaxusXSgKcQrBEj yat8Y+LZotSuvS2SWJhFOBjtxmp/cGm0VbQLG1ruzqhNzfSUe9jDap70nWJH4La1s6 OY64eti9pE1zpwn5eN8t3r/2bWTdQLxW76Sjb+8wNht0/tyRLV1gAX7kkMYADvk8y8 VJEcdUbvDLb54EGC9MZyG4WXzAA02D1EFNuLZqBx48DzMPy+wwFSc3lWMDqS3vB2Cw kxfsvqydKZciQ== From: Vicki Pfau To: Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, Pavel Rojtberg Cc: Vicki Pfau Subject: [PATCH 2/3] Input: xpad - remove unused field in VID/PID table Date: Fri, 24 Feb 2023 17:21:47 -0800 Message-Id: <20230225012147.276489-3-vi@endrift.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230225012147.276489-1-vi@endrift.com> References: <20230225012147.276489-1-vi@endrift.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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 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 --- drivers/input/joystick/xpad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 04af2213407f..d244ba22b85e 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -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 }, -- 2.39.2