Message ID | 20221222-hid-v1-3-f4a6c35487a5@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp142035wrn; Wed, 21 Dec 2022 21:13:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXuvah7V1PKjkplvKA+V6HNdQIuu6YFk43AdoakBMP7TYPhJtJwtgFckHBUNmONIPplf9Sd4 X-Received: by 2002:a50:aa96:0:b0:46c:ecb8:e703 with SMTP id q22-20020a50aa96000000b0046cecb8e703mr3740144edc.22.1671685991972; Wed, 21 Dec 2022 21:13:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671685991; cv=none; d=google.com; s=arc-20160816; b=J1RBkPqXASbTj/nkh6FeOKiAXEVWS0yu9GWlFbr6AT5CFjzVbkzOatYyp1zW7z3dym pf3bFUOCU/obcAzR/rggsxhZp/N7sgZtRZS2Yu4MVHp9V4Y272EoVj1VbEkknbSYKztt dSju44UA6/Y+huZql5YV1rOVKOOicedQNnYsyTwN+ucT2QlNKULuS5UjfKNMVOn53Akk q+HKhhNKB9miXDSjO617cilkt8fLXMkDT2crQR+YcdYrcgp3L25vDzih6KPbfC5D4epC LFxIdezg/CvNw0nhTtfNkXf9zYOZWVF3wj13KcTaYxTvj2LW1x7J2LEofHdnTnKpvsBt nCDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=kngOKunYlTEn/5M8DJnKk2rlikKFLTIul0XejaAdECY=; b=qPIzpXucaJ5tvV4wQJ8Etw14o7mLMz9QWAgcrU87r0BQcdbG9bcWeeS+pzz5HFVha6 nzXH5tWrNRUeQgxuDC9VpLgD4oLww4sIElMywORixTQ1sZU3cAWKlMhwTpXNC145WreZ fgRx6rCVdu0QBEwdFsvX35jqSiGnmdwMx8FvBpjk0yo6G04Zb77lJBDlsCETQ5KQOAq8 OepK/agZJqHbC6M84i7lA15P+gxRNKnO8lDWejjF8oK2p7isQ5xOWg3bgYrxLMk3d8uM 63anMjBMSyKO7yHZsoHSPlmH2sOq17bUSOyfa1NYFYcGCvoCIaAlWbs1gk01D1kqSP6H uLRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=nzvPq4V4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170906938c00b007c0a7286be2si12871771ejx.770.2022.12.21.21.12.48; Wed, 21 Dec 2022 21:13:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=nzvPq4V4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235125AbiLVFLi (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 00:11:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234968AbiLVFK5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 00:10:57 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D39217067; Wed, 21 Dec 2022 21:10:55 -0800 (PST) From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= <linux@weissschuh.net> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1671685848; bh=aJ7IVJ34rJu4bypYe1rv5vqdZ+Bmi73wBdQLIivw4ts=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=nzvPq4V4YM3yepefWrKQUEa+Nby91i6BGB4MbAPtZ9zCehBQTP7ZpumFTXCngMTPy b/oKA3a98bIv/t3N+WjrRDOIWjX0AM5Bteqs1FSAEd1sR+WrLz4MJY0m4sqxC8tKlc 3jCIbs3NbFjQ/GhUp0eDBxj0UZWf7KtbgF29MyM4= Date: Thu, 22 Dec 2022 05:10:46 +0000 Subject: [PATCH 3/8] HID: Remove unused function hid_is_using_ll_driver() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221222-hid-v1-3-f4a6c35487a5@weissschuh.net> References: <20221222-hid-v1-0-f4a6c35487a5@weissschuh.net> In-Reply-To: <20221222-hid-v1-0-f4a6c35487a5@weissschuh.net> To: Hans de Goede <hdegoede@redhat.com>, Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, David Rheinsberg <david.rheinsberg@gmail.com>, Marcel Holtmann <marcel@holtmann.org>, Johan Hedberg <johan.hedberg@gmail.com>, Luiz Augusto von Dentz <luiz.dentz@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, Thomas =?utf-8?q?Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.11.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1671685845; l=761; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=aJ7IVJ34rJu4bypYe1rv5vqdZ+Bmi73wBdQLIivw4ts=; b=CO/ajOHSL68RVBZncIxSRsKPvD1NB0gAon57+ErnZ3WV+3ZsBndBhdn4vhj39QQXFDdBmKBW3Fnl n/fw2GoHClUGZswPDlzct7sDSUC125wbm+rYgxjPxpSxQNl9uN37 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752889811053514079?= X-GMAIL-MSGID: =?utf-8?q?1752889811053514079?= |
Series |
HID: remove some unneeded exported symbols from hid.h
|
|
Commit Message
Thomas Weißschuh
Dec. 22, 2022, 5:10 a.m. UTC
As the last user was removed we can delete this function.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
include/linux/hid.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/linux/hid.h b/include/linux/hid.h index e8400aa78522..7c5fce6a189e 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -858,12 +858,6 @@ extern struct hid_ll_driver hidp_hid_driver; extern struct hid_ll_driver uhid_hid_driver; extern struct hid_ll_driver usb_hid_driver; -static inline bool hid_is_using_ll_driver(struct hid_device *hdev, - struct hid_ll_driver *driver) -{ - return hdev->ll_driver == driver; -} - extern bool hid_is_usb(const struct hid_device *hdev); #define PM_HINT_FULLON 1<<5