From nobody Fri May 06 22:43:34 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 E1D6E1AB9953; Fri, 6 May 2022 22:43:35 +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 4Kw5Ff4grnz3vyn; Fri, 6 May 2022 22:43:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877015; 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=qYq+YCK1lz7zmkIH99i6OqDV5KFKuCrgl9RjofDHX1A=; b=WcjFNqKfas8D61aru//Ox2hCjLuBqcsddb/7Qd39X9TL9Wj9gBQkfvAC0zxfEl5ZR+rVG4 XQImulV7DkqG76deLRGFGpNupcTDRVoCun6aqhr1uOoTYmp8lb53Zmp15NOI4SjEH0rgEk sALGDzxQGjHz0IBYYqOYRV8mKF9B4Ni2QW4DFYW0+EF6jU6HcRDYHvYIQBH6GTA+pwdjug 7Sot1goF3ZgZX3yw2iri+UxZWDoEtsjw+4p/sxrGqNR/iRCISOVWDmp83taW1SgCGxpt4k jS7o5QRLVnSlnyuh2fsZmvjSjzdK94ietzIEdLqUT0+Fwh2OLDpLsDzmziNNuw== 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 76F4F24928; Fri, 6 May 2022 22:43:34 +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 246MhYRv019863; Fri, 6 May 2022 22:43:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhYUH019862; Fri, 6 May 2022 22:43:34 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:34 GMT Message-Id: <202205062243.246MhYUH019862@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: a571fed7f457 - main - iwi/iwm/iwn: 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: a571fed7f457b7eb1207aca6871f9b066ca7b806 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877015; 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=qYq+YCK1lz7zmkIH99i6OqDV5KFKuCrgl9RjofDHX1A=; b=fTIZl83cPDHOdKSpZlLzEoDzqT3Xv+t2LLD0jmefQTdG7pLTHGQYfSoN4k0jxg9NEc9/TP CKxyCCyOmhodZhBLpdx9fMt1x8ijLpe5bgahOnUCrfoEazQ98xUJzailKFFqZDIoHZZwpv mIvObIikiKf9arIDJMCtCSaL0joQWWLHJ7r+1qzY8BFW4UvMrMOl3pENfpJex8Uc5GPG1a JtPMXygUZRAkVtUPuoD686K78VlVdTuvbjFexdoU0lFs+97Csxj9VyhEzGw3LNNbzDgfs3 JoSyxACbggXto9lorn+c2OQDAUcyEpyP1hVxjRcWKYCSAxaDnsTQg3nKsAPmMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877015; a=rsa-sha256; cv=none; b=ylAEX56vEPcGVIvakEwHaaW0OyHsKB6A35V6+SRERwr9qvircrb4NfLG37C4vetS26qA84 ZMRxVU6uc0ny2zkEuoyzHJvLtHp9Dv95LbM5uKbj6YdKDwC2kCopa/HGYhCv0Zvm+9JCZ3 UzpM8mF/SsyTVY77B821v5EkT4wTv1mGUkEClKDoFVqMbBQKQSdH8PRb8Ev61MApUeEd+F DICeoKC/dGfhE5PSK/P6KbV2eBhdtKRcE8jQQMt4RWJ3p77hQ9YZ1H8SpsGOQnfurfPkLN dr7O7huiV6J298Vc00AhCe3wW6cdcJRQ31XTfLmHjO2NClxh6LhnYuBEEU6CyA== 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=a571fed7f457b7eb1207aca6871f9b066ca7b806 commit a571fed7f457b7eb1207aca6871f9b066ca7b806 Author: John Baldwin AuthorDate: 2022-04-20 16:43:47 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:31 +0000 iwi/iwm/iwn: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/iwi/if_iwi.c | 4 +--- sys/dev/iwm/if_iwm.c | 4 +--- sys/dev/iwn/if_iwn.c | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index 0a65d4d635c2..9cf08e7d434f 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -242,9 +242,7 @@ static driver_t iwi_driver = { sizeof (struct iwi_softc) }; -static devclass_t iwi_devclass; - -DRIVER_MODULE(iwi, pci, iwi_driver, iwi_devclass, NULL, NULL); +DRIVER_MODULE(iwi, pci, iwi_driver, NULL, NULL); MODULE_VERSION(iwi, 1); diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c index 257441531a37..c3a7e45c574d 100644 --- a/sys/dev/iwm/if_iwm.c +++ b/sys/dev/iwm/if_iwm.c @@ -6586,9 +6586,7 @@ static driver_t iwm_pci_driver = { sizeof (struct iwm_softc) }; -static devclass_t iwm_devclass; - -DRIVER_MODULE(iwm, pci, iwm_pci_driver, iwm_devclass, NULL, NULL); +DRIVER_MODULE(iwm, pci, iwm_pci_driver, NULL, NULL); MODULE_PNP_INFO("U16:device;P:#;T:vendor=0x8086", pci, iwm_pci_driver, iwm_devices, nitems(iwm_devices)); MODULE_DEPEND(iwm, firmware, 1, 1, 1); diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 4ef388cfb8f8..c57734d74456 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -374,9 +374,8 @@ static driver_t iwn_driver = { iwn_methods, sizeof(struct iwn_softc) }; -static devclass_t iwn_devclass; -DRIVER_MODULE(iwn, pci, iwn_driver, iwn_devclass, NULL, NULL); +DRIVER_MODULE(iwn, pci, iwn_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, iwn, iwn_ident_table, nitems(iwn_ident_table) - 1); MODULE_VERSION(iwn, 1);