From nobody Tue May 10 17:36:14 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C72D11ACF868; Tue, 10 May 2022 17:36:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KyQFB2Myvz4hYn; Tue, 10 May 2022 17:36:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2/oOfH5NXm4Q+CO2PYqpOlC3ceWK1qg4w7o08yUFQP4=; b=qK9yOXLE5q3bXYssV0WRxREhYAPHr8b9wFsq7ekXlizPGBh8aN/pl+UTFYNhIsGw2p9sPL XDoRPpl7jY4obWjxblEB5Y5+JfKjd2O+58rFl5z7kv+jqWEIdgQdvxvOezI5go9WUPJ10U aTEcT+tmohO9aHoK9KgfWdAVuLN9IaJTrbWDgQkkWX1QyePeFF+9ACgkvc6R8iyxM0haL2 lfRc/m0zVFZjP62o4nutDpSTvuiq6RqjpKhKI74RST4P81EQK7hVvu56KaeDop3JdoJU/s ZUMM8pHagRCgj/u4AVw59UXCVBf5nailIQIpFZQSJ65IHAkvHXtxGq44kOinaA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AFC61B34; Tue, 10 May 2022 17:36:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24AHaEbv098830; Tue, 10 May 2022 17:36:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaEnJ098829; Tue, 10 May 2022 17:36:14 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:14 GMT Message-Id: <202205101736.24AHaEnJ098829@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: c46fd018530f - main - adb: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c46fd018530f48f4e1eef0a331da69ad74298946 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2/oOfH5NXm4Q+CO2PYqpOlC3ceWK1qg4w7o08yUFQP4=; b=xaEa6SFiVLvHY9o7zl+ErENGf/LTJcEgTab1Q4uYnIr7ScQT04q/OFgrqzL48qR2syOGmq PpuM1MPgjYL2VgI1ypH9Ienk5s8nCSnFYgPFs4arWyM1QY05X2+0BMyPmWc2OTP8EgOH5b CSANicvHvNBSVZpygkNOp74qadMVLVewy+Q00v6Tvs6uqg0HzhOYXtsKzkr5JInsWm6h0Y HUjSI3u9cjC0k1+tIwhRCT5wmo1idSQUSTf2tV8SiF1qfOWilxC6AnxV23ngcPgeNUnLBL HS4Iv/1yQV8dbjwwYryokXGYAiMh4wOP7UjIQqYP7rTq5muha+2KG91vmNjAYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204174; a=rsa-sha256; cv=none; b=t6nWS+Ot9rmOaHgw+rcLkim1JEvOQf2H383ZE5i20a8/uwWKBapzJT/B6NAAPzcYC2Q97p 3xJxaCq/25svtOymgtsJXGQW+ZcrMXhM9+WIC10rt0qIPlF5obSdy0Yaxp9FkhGKnpdHvy 6qXEBW2wnf6h8Pvotx9S2bEmqCMBcPfORaJWTwVHUtYtzrm99pq/rSKi4GOAE0vR4bCjkY Ns4etS4laLK2fWFlXTNFoPR1qIY7Lqoaz4VYKXRQyoB5L5GaDUzRYOtEatESwqzUm1P3ha zaNvC13N8RjgluGxkQCn/F5pu2WyV7bbNCzT0htDs8liaL5fZA1mqiEOg3mXyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c46fd018530f48f4e1eef0a331da69ad74298946 commit c46fd018530f48f4e1eef0a331da69ad74298946 Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 adb: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/adb/adb_buttons.c | 4 +--- sys/dev/adb/adb_kbd.c | 4 +--- sys/dev/adb/adb_mouse.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/sys/dev/adb/adb_buttons.c b/sys/dev/adb/adb_buttons.c index 4534f5b2a2e7..fb18435799ad 100644 --- a/sys/dev/adb/adb_buttons.c +++ b/sys/dev/adb/adb_buttons.c @@ -78,9 +78,7 @@ static driver_t abtn_driver = { sizeof(struct abtn_softc), }; -static devclass_t abtn_devclass; - -DRIVER_MODULE(abtn, adb, abtn_driver, abtn_devclass, 0, 0); +DRIVER_MODULE(abtn, adb, abtn_driver, 0, 0); static int abtn_probe(device_t dev) diff --git a/sys/dev/adb/adb_kbd.c b/sys/dev/adb/adb_kbd.c index d765e73ed351..757b687da145 100644 --- a/sys/dev/adb/adb_kbd.c +++ b/sys/dev/adb/adb_kbd.c @@ -111,9 +111,7 @@ static driver_t adb_kbd_driver = { sizeof(struct adb_kbd_softc), }; -static devclass_t adb_kbd_devclass; - -DRIVER_MODULE(akbd, adb, adb_kbd_driver, adb_kbd_devclass, 0, 0); +DRIVER_MODULE(akbd, adb, adb_kbd_driver, 0, 0); #ifdef AKBD_EMULATE_ATKBD diff --git a/sys/dev/adb/adb_mouse.c b/sys/dev/adb/adb_mouse.c index 6f6f9d633b52..7d051bb79b79 100644 --- a/sys/dev/adb/adb_mouse.c +++ b/sys/dev/adb/adb_mouse.c @@ -116,9 +116,7 @@ static driver_t adb_mouse_driver = { sizeof(struct adb_mouse_softc), }; -static devclass_t adb_mouse_devclass; - -DRIVER_MODULE(ams, adb, adb_mouse_driver, adb_mouse_devclass, 0, 0); +DRIVER_MODULE(ams, adb, adb_mouse_driver, 0, 0); static struct cdevsw ams_cdevsw = { .d_version = D_VERSION,