From nobody Mon May 09 19:22:56 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 0A0C11AC268B; Mon, 9 May 2022 19:22:58 +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 4Kxrfm5nZ2z3pCQ; Mon, 9 May 2022 19:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124177; 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=nunW3lptD4VGgbpCnZRo29phDj0PFJfho6cIAtffZ9o=; b=KiSeEqpsji5fKjx91w0JNTsMnTTIQIKmCD1Z7ZbCkE4dbfhJtwKAMOtbC/SlU3N/H4CC+M 54ZmOF8HYu+qScsTaB6/DJhBkvFs6EqpsVWgY6GsWAiTpXoDVvXQG0YtcsN0wTun2U9Ege /GVwxqKU+Ub60VQCvq1FCtVINbhpP1H9GyGv+bVPFy5LrfNKCUKAfAstlH9uF5KmLLXxb7 9DwdiubfglQhTUjVGeKxF8kE/U6kMoUk7fa9iARj7Eo8OsTrpd6kd3G1CyUq1vNjVJaiCm oZ7Npjs+esC9uf/84UhM4t0+aT/B74J7EVYzxg/ucBzeTBl5TAxS9Q8UBEFr0g== 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 9A9E31697B; Mon, 9 May 2022 19:22:56 +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 249JMuA6085519; Mon, 9 May 2022 19:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMuGS085518; Mon, 9 May 2022 19:22:56 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:56 GMT Message-Id: <202205091922.249JMuGS085518@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: dfee3204c987 - main - ichsmb/imcsmb/intpm/ismt: 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: dfee3204c98718efbdadb2439fd95ba312920ece Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124177; 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=nunW3lptD4VGgbpCnZRo29phDj0PFJfho6cIAtffZ9o=; b=YuPvbbETR7cszbwO/Vk6Is77qxRe2YuzXGzDAd13DOrxx/NOxnPcB9umZ0ZNliFRFLnT0R Tby8IYqmKc35eDcQdQqISCBuCsZwFx0fGRjL/kiuA0bLl4tABn/qwwBC96vc2cSzhA8Zb6 yYqJpWa1zDsZ/quaAEXVo0BxvtTBNl7H4eRRxVxisDaxpPz3CMMNbf2bN7ENYcrr0RMgf0 wXy7BjvHQ5Z2avjRbdJgZdR4SSDDGEwWru0Y2WRbb5rhbhJuo+tvBDmlHig8BaHoDTkoIQ 2AiUbPRaMMKGVv8eDFBxVM4+KgSVKoEmIkPD8pGtNj6cM7zas56ITxq8H9wStA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124177; a=rsa-sha256; cv=none; b=jTXG+hqOqFIrItNNihYO8M2+FEUtasG58kxdxLJIZ3hr7UBG56DUdjXOZo2jkuN7ulFq85 pMzmSxswih4GYe8nf3gAF3nNmVGs/+ulNPokUNq5IlC0Z6t9IjKMfrlqeD8FvLeC6qR0qH WNNFKRwY/TP+cTVEbSzDha7Vy6GMVjSqG8BHOX79nxEqBZVHn59MAgqpyeddzbf/6KER6F ihC6Uqcfem8wxLpgB8dmOu20Cq5fSUJkBOo7ns2lKtPq7ZM+h7h0MpXbY1g0KPVltLQ9mc FnLhqkZcCsNT/i9iHTnQJjqxeRggvZ8ZzHqjcKmF9imtXTFF3X/hL2EG1HoJKw== 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=dfee3204c98718efbdadb2439fd95ba312920ece commit dfee3204c98718efbdadb2439fd95ba312920ece Author: John Baldwin AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:02 +0000 ichsmb/imcsmb/intpm/ismt: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/ichsmb/ichsmb_pci.c | 4 +--- sys/dev/imcsmb/imcsmb.c | 5 +---- sys/dev/imcsmb/imcsmb_pci.c | 5 +---- sys/dev/intpm/intpm.c | 5 +---- sys/dev/ismt/ismt.c | 4 +--- 5 files changed, 5 insertions(+), 18 deletions(-) diff --git a/sys/dev/ichsmb/ichsmb_pci.c b/sys/dev/ichsmb/ichsmb_pci.c index 32c6c1fbbcf2..1ef31cb2c773 100644 --- a/sys/dev/ichsmb/ichsmb_pci.c +++ b/sys/dev/ichsmb/ichsmb_pci.c @@ -250,9 +250,7 @@ static driver_t ichsmb_pci_driver = { sizeof(struct ichsmb_softc) }; -static devclass_t ichsmb_pci_devclass; - -DRIVER_MODULE(ichsmb, pci, ichsmb_pci_driver, ichsmb_pci_devclass, 0, 0); +DRIVER_MODULE(ichsmb, pci, ichsmb_pci_driver, 0, 0); static int ichsmb_pci_probe(device_t dev) diff --git a/sys/dev/imcsmb/imcsmb.c b/sys/dev/imcsmb/imcsmb.c index f5dfaa62f37a..a9ae70bd2f71 100644 --- a/sys/dev/imcsmb/imcsmb.c +++ b/sys/dev/imcsmb/imcsmb.c @@ -521,9 +521,6 @@ out: return (rc); } -/* Our device class */ -static devclass_t imcsmb_devclass; - /* Device methods */ static device_method_t imcsmb_methods[] = { /* Device interface */ @@ -547,7 +544,7 @@ static driver_t imcsmb_driver = { .size = sizeof(struct imcsmb_softc), }; -DRIVER_MODULE(imcsmb, imcsmb_pci, imcsmb_driver, imcsmb_devclass, 0, 0); +DRIVER_MODULE(imcsmb, imcsmb_pci, imcsmb_driver, 0, 0); MODULE_DEPEND(imcsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); MODULE_VERSION(imcsmb, 1); diff --git a/sys/dev/imcsmb/imcsmb_pci.c b/sys/dev/imcsmb/imcsmb_pci.c index 0843e61f88d1..09d5d6a263e7 100644 --- a/sys/dev/imcsmb/imcsmb_pci.c +++ b/sys/dev/imcsmb/imcsmb_pci.c @@ -318,9 +318,6 @@ imcsmb_pci_request_bus(device_t dev) return (rc); } -/* Our device class */ -static devclass_t imcsmb_pci_devclass; - /* Device methods */ static device_method_t imcsmb_pci_methods[] = { /* Device interface */ @@ -337,7 +334,7 @@ static driver_t imcsmb_pci_driver = { .size = sizeof(struct imcsmb_pci_softc), }; -DRIVER_MODULE(imcsmb_pci, pci, imcsmb_pci_driver, imcsmb_pci_devclass, 0, 0); +DRIVER_MODULE(imcsmb_pci, pci, imcsmb_pci_driver, 0, 0); MODULE_DEPEND(imcsmb_pci, pci, 1, 1, 1); MODULE_VERSION(imcsmb_pci, 1); diff --git a/sys/dev/intpm/intpm.c b/sys/dev/intpm/intpm.c index 2fd2fa7451be..e5a3d0a96a3b 100644 --- a/sys/dev/intpm/intpm.c +++ b/sys/dev/intpm/intpm.c @@ -869,8 +869,6 @@ intsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) return (error); } -static devclass_t intsmb_devclass; - static device_method_t intsmb_methods[] = { /* Device interface */ DEVMETHOD(device_probe, intsmb_probe), @@ -899,8 +897,7 @@ static driver_t intsmb_driver = { sizeof(struct intsmb_softc), }; -DRIVER_MODULE_ORDERED(intsmb, pci, intsmb_driver, intsmb_devclass, 0, 0, - SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(intsmb, pci, intsmb_driver, 0, 0, SI_ORDER_ANY); DRIVER_MODULE(smbus, intsmb, smbus_driver, 0, 0); MODULE_DEPEND(intsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); MODULE_VERSION(intsmb, 1); diff --git a/sys/dev/ismt/ismt.c b/sys/dev/ismt/ismt.c index 38bd977762ea..f7768a6ab0a4 100644 --- a/sys/dev/ismt/ismt.c +++ b/sys/dev/ismt/ismt.c @@ -772,9 +772,7 @@ static driver_t ismt_pci_driver = { sizeof(struct ismt_softc) }; -static devclass_t ismt_pci_devclass; - -DRIVER_MODULE(ismt, pci, ismt_pci_driver, ismt_pci_devclass, 0, 0); +DRIVER_MODULE(ismt, pci, ismt_pci_driver, 0, 0); DRIVER_MODULE(smbus, ismt, smbus_driver, 0, 0); MODULE_DEPEND(ismt, pci, 1, 1, 1);