From patchwork Fri Apr 23 19:34:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamza Mahfooz X-Patchwork-Id: 12221635 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CACCC433ED for ; Fri, 23 Apr 2021 19:47:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33D3F613D7 for ; Fri, 23 Apr 2021 19:47:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232619AbhDWTse (ORCPT ); Fri, 23 Apr 2021 15:48:34 -0400 Received: from h4.fbrelay.privateemail.com ([131.153.2.45]:58431 "EHLO h4.fbrelay.privateemail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbhDWTsd (ORCPT ); Fri, 23 Apr 2021 15:48:33 -0400 X-Greylist: delayed 806 seconds by postgrey-1.27 at vger.kernel.org; Fri, 23 Apr 2021 15:48:33 EDT Received: from MTA-13-4.privateemail.com (mta-13.privateemail.com [198.54.118.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h3.fbrelay.privateemail.com (Postfix) with ESMTPS id 05060812B5; Fri, 23 Apr 2021 15:34:30 -0400 (EDT) Received: from mta-13.privateemail.com (localhost [127.0.0.1]) by mta-13.privateemail.com (Postfix) with ESMTP id BFFD68006D; Fri, 23 Apr 2021 15:34:27 -0400 (EDT) Received: from hal-station.. (unknown [10.20.151.233]) by mta-13.privateemail.com (Postfix) with ESMTPA id 5361080067; Fri, 23 Apr 2021 15:34:27 -0400 (EDT) From: Hamza Mahfooz To: kernel-janitors@vger.kernel.org Cc: linux-input@vger.kernel.org, Hamza Mahfooz Subject: [PATCH] hid: remove the unnecessary redefinition of a macro Date: Fri, 23 Apr 2021 15:34:05 -0400 Message-Id: <20210423193405.3828-1-someguy@effective-light.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org USB_VENDOR_ID_CORSAIR is defined twice in the same file with the same value. Signed-off-by: Hamza Mahfooz --- drivers/hid/hid-ids.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 67fd8a2f5aba..133101b567f2 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -299,7 +299,6 @@ #define USB_VENDOR_ID_CORSAIR 0x1b1c #define USB_DEVICE_ID_CORSAIR_K90 0x1b02 -#define USB_VENDOR_ID_CORSAIR 0x1b1c #define USB_DEVICE_ID_CORSAIR_K70R 0x1b09 #define USB_DEVICE_ID_CORSAIR_K95RGB 0x1b11 #define USB_DEVICE_ID_CORSAIR_M65RGB 0x1b12