From nobody Fri May 06 23:25:24 2022 X-Original-To: dev-commits-src-main@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 160971AD1579; Fri, 6 May 2022 23:25:26 +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 4Kw69x2D44z3FTv; Fri, 6 May 2022 23:25:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879525; 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=TWd8Bj6vBpKT8NWctuj6wUwfSXfZFlfkcyQ6fb2hOJ0=; b=SKOE0wiwZcXxPx+8asBiNBk+iiTyC9Lk3Z1Rss1rXDU3viZrACx/jAxalcKsSz/mAWT/tv Zoy66L58TP70j+kcQjwYdf4odzAzLTcTAE8Vf6pgUVYFDeTOnWcaN4QYX9ncNjR/hCa2y6 7DFQS9ahsAVFJALSnWDr+NBWviVgO0EUCu+hifOVWurZSFuPCdB4groy/mWPkEaEXH8Ha/ i2JQUgfIzCE9qfWmnPeixU0ONixl0fKQkay2iMDzmRE2nfSWkWnEbayKzxrlk5zGKS6zkD 50TA8jIk/Y9ZXfARbASfzg4dGl0KCX8IkbfY41McHM8rDotrSXRIVNsp0UIhtg== 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 EE73C24FF3; Fri, 6 May 2022 23:25:24 +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 246NPOfc075845; Fri, 6 May 2022 23:25:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPO2S075844; Fri, 6 May 2022 23:25:24 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:24 GMT Message-Id: <202205062325.246NPO2S075844@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: c1cef544f7a8 - main - hyperv: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: c1cef544f7a8915578dd246b7bb709f9f949a29e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879525; 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=TWd8Bj6vBpKT8NWctuj6wUwfSXfZFlfkcyQ6fb2hOJ0=; b=yenk0QtqR2OCCj3Ku/Su35VORPmS9CvGA14a8C8w4FowIv/8a7prbDdqttvzUMSJ3yxiLr Mtd7SW0RChuCCXMSslef3WOdzHbGR4URerYeYsCAXbb2QZz06fwcHRI1ieZB1/HFTRtK7n 6AkLspkZ+zRLu4zg4cH0+FsltQ71ihzYbHdeIhxMt/1FhhRucBF3cOIiyoR/ykR+zhDK3F +iJ5cix8Nsw0smFvaqEil+6TmGtXe4RLXODcXMpmfmXz9Q44hAhUsow5pNTpGceExbp3Nf qzYQIGmvr9GsxuGm8NW3CQO7KrfoPGmSg7XtKhxjIBAgou1x79nP8ke5i15yXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879525; a=rsa-sha256; cv=none; b=RjW3H9qFj/xB0zRSokDKGcQGZnyLXtUju7dpSKhYCWTLn3jyk3rE/IQ9n4styZjOFAt6hB /zLUOhtBocaN2jWd9tZotzkRpXoNXv1l/r+I+m0YhJKQOdb1Cdj+GsvEYZpyeDxDFSp3bO UkJO3KV/vbOEvqnafT4kvJKJWsqwvxuUXYzhm/qbaNAt8WjGARf0uTiijaPTWbYDdgD8kD nqHW4zDQim/FQ3Pvfwx8Q5D7M0cZj3wSEn3f9aggcbYoo0Wmht7bXmxO8mVqry4MwRRjv6 yZILD148SW7XdOacqSL0NOxs55A9057WIlQs4N5C2cljIkwohB82qj+IBlTBug== 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=c1cef544f7a8915578dd246b7bb709f9f949a29e commit c1cef544f7a8915578dd246b7bb709f9f949a29e Author: John Baldwin AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:58 +0000 hyperv: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/hyperv/hvsock/hv_sock.c | 4 +--- sys/dev/hyperv/input/hv_kbdc.c | 4 +--- sys/dev/hyperv/netvsc/if_hn.c | 4 +--- sys/dev/hyperv/pcib/vmbus_pcib.c | 4 +--- sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c | 3 +-- sys/dev/hyperv/utilities/hv_kvp.c | 4 +--- sys/dev/hyperv/utilities/hv_snapshot.c | 4 +--- sys/dev/hyperv/utilities/vmbus_heartbeat.c | 5 +---- sys/dev/hyperv/utilities/vmbus_shutdown.c | 5 +---- sys/dev/hyperv/utilities/vmbus_timesync.c | 5 +---- sys/dev/hyperv/vmbus/vmbus.c | 7 ++----- sys/dev/hyperv/vmbus/vmbus_et.c | 4 +--- sys/dev/hyperv/vmbus/vmbus_res.c | 5 +---- 13 files changed, 14 insertions(+), 44 deletions(-) diff --git a/sys/dev/hyperv/hvsock/hv_sock.c b/sys/dev/hyperv/hvsock/hv_sock.c index 4bd98d154cbf..f0238c233181 100644 --- a/sys/dev/hyperv/hvsock/hv_sock.c +++ b/sys/dev/hyperv/hvsock/hv_sock.c @@ -1753,8 +1753,6 @@ static driver_t hvsock_driver = { sizeof(struct hvsock_sc) }; -static devclass_t hvsock_devclass; - -DRIVER_MODULE(hvsock, vmbus, hvsock_driver, hvsock_devclass, NULL, NULL); +DRIVER_MODULE(hvsock, vmbus, hvsock_driver, NULL, NULL); MODULE_VERSION(hvsock, 1); MODULE_DEPEND(hvsock, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/input/hv_kbdc.c b/sys/dev/hyperv/input/hv_kbdc.c index 7065ff3057a7..8801950bd798 100644 --- a/sys/dev/hyperv/input/hv_kbdc.c +++ b/sys/dev/hyperv/input/hv_kbdc.c @@ -523,8 +523,6 @@ static device_method_t kbd_methods[] = { static driver_t kbd_driver = {HVKBD_DRIVER_NAME , kbd_methods, sizeof(hv_kbd_sc)}; -static devclass_t kbd_devclass; - -DRIVER_MODULE(hv_kbd, vmbus, kbd_driver, kbd_devclass, hvkbd_driver_load, NULL); +DRIVER_MODULE(hv_kbd, vmbus, kbd_driver, hvkbd_driver_load, NULL); MODULE_VERSION(hv_kbd, 1); MODULE_DEPEND(hv_kbd, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c index 95f62902fe6b..63795261b21c 100644 --- a/sys/dev/hyperv/netvsc/if_hn.c +++ b/sys/dev/hyperv/netvsc/if_hn.c @@ -661,9 +661,7 @@ static driver_t hn_driver = { sizeof(struct hn_softc) }; -static devclass_t hn_devclass; - -DRIVER_MODULE(hn, vmbus, hn_driver, hn_devclass, 0, 0); +DRIVER_MODULE(hn, vmbus, hn_driver, 0, 0); MODULE_VERSION(hn, 1); MODULE_DEPEND(hn, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/pcib/vmbus_pcib.c b/sys/dev/hyperv/pcib/vmbus_pcib.c index 81b05a6da055..98e1320e4379 100644 --- a/sys/dev/hyperv/pcib/vmbus_pcib.c +++ b/sys/dev/hyperv/pcib/vmbus_pcib.c @@ -1890,11 +1890,9 @@ static device_method_t vmbus_pcib_methods[] = { DEVMETHOD_END }; -static devclass_t pcib_devclass; - DEFINE_CLASS_0(pcib, vmbus_pcib_driver, vmbus_pcib_methods, sizeof(struct vmbus_pcib_softc)); -DRIVER_MODULE(vmbus_pcib, vmbus, vmbus_pcib_driver, pcib_devclass, 0, 0); +DRIVER_MODULE(vmbus_pcib, vmbus, vmbus_pcib_driver, 0, 0); MODULE_DEPEND(vmbus_pcib, vmbus, 1, 1, 1); MODULE_DEPEND(vmbus_pcib, pci, 1, 1, 1); diff --git a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c index 33d88db83ac0..5a8f992ce367 100644 --- a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c +++ b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c @@ -371,8 +371,7 @@ static driver_t storvsc_driver = { "storvsc", storvsc_methods, sizeof(struct storvsc_softc), }; -static devclass_t storvsc_devclass; -DRIVER_MODULE(storvsc, vmbus, storvsc_driver, storvsc_devclass, 0, 0); +DRIVER_MODULE(storvsc, vmbus, storvsc_driver, 0, 0); MODULE_VERSION(storvsc, 1); MODULE_DEPEND(storvsc, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/utilities/hv_kvp.c b/sys/dev/hyperv/utilities/hv_kvp.c index 8da0936f6cd7..bb73fa480f94 100644 --- a/sys/dev/hyperv/utilities/hv_kvp.c +++ b/sys/dev/hyperv/utilities/hv_kvp.c @@ -913,8 +913,6 @@ static device_method_t kvp_methods[] = { static driver_t kvp_driver = { "hvkvp", kvp_methods, sizeof(hv_kvp_sc)}; -static devclass_t kvp_devclass; - -DRIVER_MODULE(hv_kvp, vmbus, kvp_driver, kvp_devclass, NULL, NULL); +DRIVER_MODULE(hv_kvp, vmbus, kvp_driver, NULL, NULL); MODULE_VERSION(hv_kvp, 1); MODULE_DEPEND(hv_kvp, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/utilities/hv_snapshot.c b/sys/dev/hyperv/utilities/hv_snapshot.c index d3084c9eca69..174c43260326 100644 --- a/sys/dev/hyperv/utilities/hv_snapshot.c +++ b/sys/dev/hyperv/utilities/hv_snapshot.c @@ -1054,8 +1054,6 @@ static device_method_t vss_methods[] = { static driver_t vss_driver = { "hvvss", vss_methods, sizeof(hv_vss_sc)}; -static devclass_t vss_devclass; - -DRIVER_MODULE(hv_vss, vmbus, vss_driver, vss_devclass, NULL, NULL); +DRIVER_MODULE(hv_vss, vmbus, vss_driver, NULL, NULL); MODULE_VERSION(hv_vss, 1); MODULE_DEPEND(hv_vss, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/utilities/vmbus_heartbeat.c b/sys/dev/hyperv/utilities/vmbus_heartbeat.c index f15b94822aa9..9eb7eb60cd8f 100644 --- a/sys/dev/hyperv/utilities/vmbus_heartbeat.c +++ b/sys/dev/hyperv/utilities/vmbus_heartbeat.c @@ -73,10 +73,7 @@ static driver_t vmbus_heartbeat_driver = { sizeof(struct vmbus_ic_softc) }; -static devclass_t vmbus_heartbeat_devclass; - -DRIVER_MODULE(hv_heartbeat, vmbus, vmbus_heartbeat_driver, - vmbus_heartbeat_devclass, NULL, NULL); +DRIVER_MODULE(hv_heartbeat, vmbus, vmbus_heartbeat_driver, NULL, NULL); MODULE_VERSION(hv_heartbeat, 1); MODULE_DEPEND(hv_heartbeat, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/utilities/vmbus_shutdown.c b/sys/dev/hyperv/utilities/vmbus_shutdown.c index 7e54dc9866bb..89e81ccc6547 100644 --- a/sys/dev/hyperv/utilities/vmbus_shutdown.c +++ b/sys/dev/hyperv/utilities/vmbus_shutdown.c @@ -74,10 +74,7 @@ static driver_t vmbus_shutdown_driver = { sizeof(struct vmbus_ic_softc) }; -static devclass_t vmbus_shutdown_devclass; - -DRIVER_MODULE(hv_shutdown, vmbus, vmbus_shutdown_driver, - vmbus_shutdown_devclass, NULL, NULL); +DRIVER_MODULE(hv_shutdown, vmbus, vmbus_shutdown_driver, NULL, NULL); MODULE_VERSION(hv_shutdown, 1); MODULE_DEPEND(hv_shutdown, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/utilities/vmbus_timesync.c b/sys/dev/hyperv/utilities/vmbus_timesync.c index 2a8d3a988b43..9861d38c655b 100644 --- a/sys/dev/hyperv/utilities/vmbus_timesync.c +++ b/sys/dev/hyperv/utilities/vmbus_timesync.c @@ -81,10 +81,7 @@ static driver_t vmbus_timesync_driver = { sizeof(struct vmbus_ic_softc) }; -static devclass_t vmbus_timesync_devclass; - -DRIVER_MODULE(hv_timesync, vmbus, vmbus_timesync_driver, - vmbus_timesync_devclass, NULL, NULL); +DRIVER_MODULE(hv_timesync, vmbus, vmbus_timesync_driver, NULL, NULL); MODULE_VERSION(hv_timesync, 1); MODULE_DEPEND(hv_timesync, vmbus, 1, 1, 1); diff --git a/sys/dev/hyperv/vmbus/vmbus.c b/sys/dev/hyperv/vmbus/vmbus.c index f0dea84426eb..b0cd750b26c8 100644 --- a/sys/dev/hyperv/vmbus/vmbus.c +++ b/sys/dev/hyperv/vmbus/vmbus.c @@ -208,11 +208,8 @@ static driver_t vmbus_driver = { sizeof(struct vmbus_softc) }; -static devclass_t vmbus_devclass; - -DRIVER_MODULE(vmbus, pcib, vmbus_driver, vmbus_devclass, NULL, NULL); -DRIVER_MODULE(vmbus, acpi_syscontainer, vmbus_driver, vmbus_devclass, - NULL, NULL); +DRIVER_MODULE(vmbus, pcib, vmbus_driver, NULL, NULL); +DRIVER_MODULE(vmbus, acpi_syscontainer, vmbus_driver, NULL, NULL); MODULE_DEPEND(vmbus, acpi, 1, 1, 1); MODULE_DEPEND(vmbus, pci, 1, 1, 1); diff --git a/sys/dev/hyperv/vmbus/vmbus_et.c b/sys/dev/hyperv/vmbus/vmbus_et.c index d9ab2a9485e7..c05e6466597e 100644 --- a/sys/dev/hyperv/vmbus/vmbus_et.c +++ b/sys/dev/hyperv/vmbus/vmbus_et.c @@ -78,9 +78,7 @@ static driver_t vmbus_et_driver = { 0 }; -static devclass_t vmbus_et_devclass; - -DRIVER_MODULE(hv_et, vmbus, vmbus_et_driver, vmbus_et_devclass, NULL, NULL); +DRIVER_MODULE(hv_et, vmbus, vmbus_et_driver, NULL, NULL); MODULE_VERSION(hv_et, 1); static __inline uint64_t diff --git a/sys/dev/hyperv/vmbus/vmbus_res.c b/sys/dev/hyperv/vmbus/vmbus_res.c index fba5a732ca58..d5f7ff033e3e 100644 --- a/sys/dev/hyperv/vmbus/vmbus_res.c +++ b/sys/dev/hyperv/vmbus/vmbus_res.c @@ -62,10 +62,7 @@ static driver_t vmbus_res_driver = { 1 }; -static devclass_t vmbus_res_devclass; - -DRIVER_MODULE(vmbus_res, acpi, vmbus_res_driver, vmbus_res_devclass, - NULL, NULL); +DRIVER_MODULE(vmbus_res, acpi, vmbus_res_driver, NULL, NULL); MODULE_DEPEND(vmbus_res, acpi, 1, 1, 1); MODULE_VERSION(vmbus_res, 1);