From nobody Mon May 09 21:47:31 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 9237E1AC9077; Mon, 9 May 2022 21:47:32 +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 4Kxvsc10Vyz3GV4; Mon, 9 May 2022 21:47:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132852; 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=qIX7jU1jNuTUZ2oiv8HvyPn8ln1FEDRPa0hxyYpDfTg=; b=chSbk0SE8Xe6yd2c1kWG4DATE/qHxpnH6gqkz1yzGsfg6RJA+sCqB/OQNXCGk/XXUiYEuv ze2/iYSNcKWId1fhKvQe4maJznj8zda7jpHJDejxBNWdHkj0Z8cFRsoEouFND3mFsV386R AvCtCxZH2RRywGx9j0YH0RfB9fPUTgBJOLIZT7w+XHMGDkhUYcggGFTLgvr29527Mzn6ob 0EiR7nSO1O2kRAP6Vyfn3zexixpJffsYH73av10hwSJAxpKxLUvucg9Gx7vv+QABSsuT0/ wdHB65komE8EXSJ9QqKs1TE3snd7HFd9DrFm9JoOXGSHCbqhPB2+V/bwA1vTFw== 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 EB35318AF5; Mon, 9 May 2022 21:47:31 +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 249LlViA079771; Mon, 9 May 2022 21:47:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlVgU079770; Mon, 9 May 2022 21:47:31 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:31 GMT Message-Id: <202205092147.249LlVgU079770@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: 5d9f60a3fd47 - main - sbni: 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: 5d9f60a3fd47ba114651c7700c6ff40a3548cf58 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132852; 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=qIX7jU1jNuTUZ2oiv8HvyPn8ln1FEDRPa0hxyYpDfTg=; b=GsQerkG+PMJiLHUBtue/Wf6jjqRcvPvK/H92kKvjVHHD/EewvG7Nr9S+OVQmmmVcJH8LD0 2tN5jjCPRw+VRq+09+xhxULasssNBG59woMDoE6l6hwJspii7UxYRw/+GhNyRmDRMeuKyN 3ESzuSkHjXT+hQFdj4KNFpZ42H2fD9Lq/vNOyDMMLDJ85ZD0kcOGDv4NTeAJEr+bGdoPxw +PToLJ6+uav3wICQvFodMmbW5ymcFanJx4jmETRgdfM/U5qSVWrLwzV1DiI5JyHZ9x8Iz/ xdF6GsSODDnaGIAh49w4uKSYdDoNN2JbMac4mzbDy+K1yksw1VsaQZ4CqCu8lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132852; a=rsa-sha256; cv=none; b=rUuYt+Of3XFxBC38PUSqM1djm6shm3oOTy31qy4zyWINzcKlyuprpxhMdvP+zfFYw+ReI3 O82eFFNb0C0XQ45lsYhCBpzP7n+5yqv0QNl38rfvluXNjnRAt9zogUR+423Xbv2qNQPrwD 0aP7wYEaO4yuaXyaGtiTilvZC49vN8FPMhq5tLLXmh29e6a6lii4XXYdX3/Ee8YR/+dmhl 4UDTG95NOe4NkMEC2cutFkOLIBv99PtSBtVftDwQr5meNlwVgGK8QA+vP1ivNgeli379bd iKKzxCb+SvMhjJ8uiJiDoojrLlem+/Zz+6TxVxH+TkLcuZjMoEOpzO9FPMTdiA== 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=5d9f60a3fd47ba114651c7700c6ff40a3548cf58 commit 5d9f60a3fd47ba114651c7700c6ff40a3548cf58 Author: John Baldwin AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:43 +0000 sbni: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/sbni/if_sbni_isa.c | 3 +-- sys/dev/sbni/if_sbni_pci.c | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/dev/sbni/if_sbni_isa.c b/sys/dev/sbni/if_sbni_isa.c index ea025737416a..70c8374dbfde 100644 --- a/sys/dev/sbni/if_sbni_isa.c +++ b/sys/dev/sbni/if_sbni_isa.c @@ -65,7 +65,6 @@ static driver_t sbni_isa_driver = { sizeof(struct sbni_softc) }; -static devclass_t sbni_isa_devclass; static struct isa_pnp_id sbni_ids[] = { { 0, NULL } /* we have no pnp sbni cards atm. */ }; @@ -162,6 +161,6 @@ sbni_attach_isa(device_t dev) return (0); } -DRIVER_MODULE(sbni, isa, sbni_isa_driver, sbni_isa_devclass, 0, 0); +DRIVER_MODULE(sbni, isa, sbni_isa_driver, 0, 0); MODULE_DEPEND(sbni, isa, 1, 1, 1); ISA_PNP_INFO(sbni_ids); diff --git a/sys/dev/sbni/if_sbni_pci.c b/sys/dev/sbni/if_sbni_pci.c index 774510ef2231..afa96bb77c10 100644 --- a/sys/dev/sbni/if_sbni_pci.c +++ b/sys/dev/sbni/if_sbni_pci.c @@ -67,9 +67,7 @@ static driver_t sbni_pci_driver = { sizeof(struct sbni_softc) }; -static devclass_t sbni_pci_devclass; - -DRIVER_MODULE(sbni, pci, sbni_pci_driver, sbni_pci_devclass, 0, 0); +DRIVER_MODULE(sbni, pci, sbni_pci_driver, 0, 0); MODULE_DEPEND(sbni, pci, 1, 1, 1); static int