From nobody Fri May 06 22:43:21 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 3CC941AB9445; Fri, 6 May 2022 22:43:23 +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 4Kw5FQ0Ttxz3vhy; Fri, 6 May 2022 22:43:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877002; 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=PYEFSKRpjq+/mG6Xt+qVH35ZTd2PIMb6XVP1zFSjjFs=; b=wRS3oAvuFQIWiDiDA6UJkCGuXyRTaXjZhvYtKnWCvjBPDAKceITrXoCiD4o31sJ+gu7Auu 89xGNnk5ZTUoI3RUmKfvTDj2umVc+owKzQZCQutrQCv+JBi8wAX8A1hpdNakzrlHoY2wqh X6h55FYjUPGdWgRl9I4lx0uwXgSbNnTM4M76jHCaanlOh1xJEnzTW1Q/Ibe1tzdfhg2THf cnCV2Es7688GKMq56oeD+dkvzKhp3jSGU+s4P+zarjAeLsAbcw4is4dP1mum1wfedirdhi Kt4Arigl0S7AbXsQa+K7LoYHK/3CJ5Y0HEO1UcQOP83kWiiaxuqCVOa4/8gTrg== 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 DD188241E9; Fri, 6 May 2022 22:43:21 +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 246MhLCo019581; Fri, 6 May 2022 22:43:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhLkK019580; Fri, 6 May 2022 22:43:21 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:21 GMT Message-Id: <202205062243.246MhLkK019580@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: 8272dd4b0e1d - main - hpt*: 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: 8272dd4b0e1d6cd362409d5c290afb4d7070fa8a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877002; 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=PYEFSKRpjq+/mG6Xt+qVH35ZTd2PIMb6XVP1zFSjjFs=; b=RKPWulJDoZHcEWgEtD4S3P9trVmaUVYMbK+wbv0+j+sSrdN4yXFiyyu76nRtAPjCa7MziB UcTFt9viCw2T+wtgr86Hk17wfdRdB/MATrCdlBJEazfYgi62q+S2m2zYdjOVFEcT1r8HKt o9p3pzTnHv4BsMq7FwYicuZLEAwFQTIhZIQYlXaOdmuUYO1TBHSn8buV6Jear3u+xf1IYq LmDs2KqTPs6Opk5ZFz//CapTn8hwCQyqKZZAYTx1tZsWmA1mbkT1os+NjJkBbwfnoVGTXl 77taHIU7quTBET9RKxqkDoCHAFL9ei+aXlL8QseZPqRb0h2Lais2leBgdy9PxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877002; a=rsa-sha256; cv=none; b=iekrWnJcQ1kZ5rQdf0+kE1fq1jH+26QmeJv6vJOd2mGrSeyLStr8etxOYosNe9eMKECJUg TLmIkfafoVAkBaaO1Kramdny6uagxMl4TtAj+q28QKsdoas42hJWROGFKkIeelPrvvZEWE IdQ0f8Eg1hGvtDNPmZfNL5k+zI5raK++IDjRKXvfD7usYnZhep5lppm6ajxt2ccRH4wNx5 z5jhJI3jbmD2BGziXJGNW4kafo2wsNvwuZg/7T0bcr12OmtpZ/sjYjBvK4+WoYoESs9NLA 2z1Tvq8piomuwGYfhNfvLDm1bqt7J8eATvp4EZ1rsfMa/Ig8LWNZpRypAeJ9+g== 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=8272dd4b0e1d6cd362409d5c290afb4d7070fa8a commit 8272dd4b0e1d6cd362409d5c290afb4d7070fa8a Author: John Baldwin AuthorDate: 2022-04-19 21:27:48 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:30 +0000 hpt*: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/hpt27xx/hpt27xx_osm_bsd.c | 6 ++---- sys/dev/hptiop/hptiop.c | 4 +--- sys/dev/hptmv/entry.c | 6 ++---- sys/dev/hptnr/hptnr_osm_bsd.c | 6 ++---- sys/dev/hptrr/hptrr_osm_bsd.c | 6 ++---- 5 files changed, 9 insertions(+), 19 deletions(-) diff --git a/sys/dev/hpt27xx/hpt27xx_osm_bsd.c b/sys/dev/hpt27xx/hpt27xx_osm_bsd.c index 6defb2fa1399..68ff8c6f4d24 100644 --- a/sys/dev/hpt27xx/hpt27xx_osm_bsd.c +++ b/sys/dev/hpt27xx/hpt27xx_osm_bsd.c @@ -1276,17 +1276,15 @@ static driver_t hpt_pci_driver = { sizeof(HBA) }; -static devclass_t hpt_devclass; - #ifndef TARGETNAME #error "no TARGETNAME found" #endif /* use this to make TARGETNAME be expanded */ -#define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6) +#define __DRIVER_MODULE(p1, p2, p3, p4, p5) DRIVER_MODULE(p1, p2, p3, p4, p5) #define __MODULE_VERSION(p1, p2) MODULE_VERSION(p1, p2) #define __MODULE_DEPEND(p1, p2, p3, p4, p5) MODULE_DEPEND(p1, p2, p3, p4, p5) -__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, hpt_devclass, 0, 0); +__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, 0, 0); __MODULE_VERSION(TARGETNAME, 1); __MODULE_DEPEND(TARGETNAME, cam, 1, 1, 1); diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index 9b25f59bc883..9ca9ec91a314 100644 --- a/sys/dev/hptiop/hptiop.c +++ b/sys/dev/hptiop/hptiop.c @@ -77,8 +77,6 @@ __FBSDID("$FreeBSD$"); static const char driver_name[] = "hptiop"; static const char driver_version[] = "v1.9"; -static devclass_t hptiop_devclass; - static int hptiop_send_sync_msg(struct hpt_iop_hba *hba, u_int32_t msg, u_int32_t millisec); static void hptiop_request_callback_itl(struct hpt_iop_hba *hba, @@ -1796,7 +1794,7 @@ static driver_t hptiop_pci_driver = { sizeof(struct hpt_iop_hba) }; -DRIVER_MODULE(hptiop, pci, hptiop_pci_driver, hptiop_devclass, 0, 0); +DRIVER_MODULE(hptiop, pci, hptiop_pci_driver, 0, 0); MODULE_DEPEND(hptiop, cam, 1, 1, 1); static int hptiop_probe(device_t dev) diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c index d1c6f8185f6c..8271328fd060 100644 --- a/sys/dev/hptmv/entry.c +++ b/sys/dev/hptmv/entry.c @@ -98,10 +98,8 @@ static driver_t hpt_pci_driver = { sizeof(IAL_ADAPTER_T) }; -static devclass_t hpt_devclass; - -#define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6) -__DRIVER_MODULE(PROC_DIR_NAME, pci, hpt_pci_driver, hpt_devclass, 0, 0); +#define __DRIVER_MODULE(p1, p2, p3, p4, p5) DRIVER_MODULE(p1, p2, p3, p4, p5) +__DRIVER_MODULE(PROC_DIR_NAME, pci, hpt_pci_driver, 0, 0); MODULE_DEPEND(PROC_DIR_NAME, cam, 1, 1, 1); #define ccb_ccb_ptr spriv_ptr0 diff --git a/sys/dev/hptnr/hptnr_osm_bsd.c b/sys/dev/hptnr/hptnr_osm_bsd.c index 2fe5c43d8b09..848ec8c95f87 100644 --- a/sys/dev/hptnr/hptnr_osm_bsd.c +++ b/sys/dev/hptnr/hptnr_osm_bsd.c @@ -1559,17 +1559,15 @@ static driver_t hpt_pci_driver = { sizeof(HBA) }; -static devclass_t hpt_devclass; - #ifndef TARGETNAME #error "no TARGETNAME found" #endif /* use this to make TARGETNAME be expanded */ -#define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6) +#define __DRIVER_MODULE(p1, p2, p3, p4, p5) DRIVER_MODULE(p1, p2, p3, p4, p5) #define __MODULE_VERSION(p1, p2) MODULE_VERSION(p1, p2) #define __MODULE_DEPEND(p1, p2, p3, p4, p5) MODULE_DEPEND(p1, p2, p3, p4, p5) -__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, hpt_devclass, 0, 0); +__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, 0, 0); __MODULE_VERSION(TARGETNAME, 1); __MODULE_DEPEND(TARGETNAME, cam, 1, 1, 1); diff --git a/sys/dev/hptrr/hptrr_osm_bsd.c b/sys/dev/hptrr/hptrr_osm_bsd.c index 5dc9680e5cc8..198a6bca390b 100644 --- a/sys/dev/hptrr/hptrr_osm_bsd.c +++ b/sys/dev/hptrr/hptrr_osm_bsd.c @@ -1206,17 +1206,15 @@ static driver_t hpt_pci_driver = { sizeof(HBA) }; -static devclass_t hpt_devclass; - #ifndef TARGETNAME #error "no TARGETNAME found" #endif /* use this to make TARGETNAME be expanded */ -#define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6) +#define __DRIVER_MODULE(p1, p2, p3, p4, p5) DRIVER_MODULE(p1, p2, p3, p4, p5) #define __MODULE_VERSION(p1, p2) MODULE_VERSION(p1, p2) #define __MODULE_DEPEND(p1, p2, p3, p4, p5) MODULE_DEPEND(p1, p2, p3, p4, p5) -__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, hpt_devclass, 0, 0); +__DRIVER_MODULE(TARGETNAME, pci, hpt_pci_driver, 0, 0); __MODULE_VERSION(TARGETNAME, 1); __MODULE_DEPEND(TARGETNAME, cam, 1, 1, 1);