From nobody Mon May 09 19:22:32 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 2D3EE1AC01D9; Mon, 9 May 2022 19:22:33 +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 4KxrfJ6JM3z3nn1; Mon, 9 May 2022 19:22:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124153; 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=WsCjt9CJmXventzSxl0XZUaRJHtuzyfcAiFe0GXEeC0=; b=Ry8OBWkg2LpSh5yEL3XidMVvoS6Zssf8R/oL7J4rwi1zho4X2BYmn6rB/TZYcdumjP8M9n vcKs3ee05n3SVFx7wT1Hn2U0ix7bYVlSCuPn4TXotqw2xHyPyCNGWuyyy/AFbZNP7y83fs AabiCOE24I9Hn2ki3108y8k1FfO8zSWCUw7D5X+xFSTVs2q2XGHxFpfAEmiXFUyN2QHG79 uGNpjNRGS7FdtVueGA0510wB+xa7arsArUeKot17mBCAaoKFCJAPjlN+wkyS2dBdgFHyPA bb5Eh7G9UtyWRtKULJzrBZH99N0mH2zASNMRlmZhn20y2GEoJ14VsBaKomKfjw== 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 97A8D16FF7; Mon, 9 May 2022 19:22:32 +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 249JMWlB084990; Mon, 9 May 2022 19:22:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMWuD084989; Mon, 9 May 2022 19:22:32 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:32 GMT Message-Id: <202205091922.249JMWuD084989@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: 05bdf34a9d20 - main - Remove unused bhndb_devclass. 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: 05bdf34a9d20fc198fe855528e6a23135460c4c6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124153; 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=WsCjt9CJmXventzSxl0XZUaRJHtuzyfcAiFe0GXEeC0=; b=VAOc15InFmo+hfif3e6Iark5feqd6rlmGl1niBJHsruvqxo4QaLcKiwEA0SvK2XYekVIEN 2tV2qb+JscAq47mpGzAaKgoEzW5ZXlNBnqH0d2L09nf0BcYFqHhvzY8otcQEEBx8MYPJ4x AtgTdixt49mlKy68svLLgKqmJpyE04OybFFRVe2TrSXKvMy/VvfOAFBXi6pPYm0oTO9Uwl DKrv5Nmi4dJRAOFCykN+kirsM1VjVmHnB6UTZhg8Nx4q9jAt169zKOf3uDwd1N5JYDJIVi qTIyu9F4MBdrTcX+OJobajEkHsydq/QRh6q4Hbq1SP4oueIBWIln0PybiL5YCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124153; a=rsa-sha256; cv=none; b=d0cu/6q47BK3AsWZvrBHX6yvoVbzJyVQaWQY23ESaHcrOETJ1hFzmoVMEiBdEWhybqx7h0 pQurJwwPitOOgy8dEsBwHODPtD+YquHyUWFGQ0dUMxs+MacO6yicLhnvxUVCKhTlJjgOpr uhOfZK+f7mGoNQRsalZEU1RB6GwiOTDnydIqTi0KDKSOx8256uIhWiZreNkr0ZYzT1WPPT +R0gNMJTlkoCU9L7UJZmQ5DCXFNK/eIfTsXKJSt3xgfcEgsE3FTr8P2+6FHLVg3XV4XRaM +v/kmxsJH9NU3dK5YnB3hmKZfn6vuC3a4ysMkZp5qXkkgDo+MnKrfIDxbhkhTg== 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=05bdf34a9d20fc198fe855528e6a23135460c4c6 commit 05bdf34a9d20fc198fe855528e6a23135460c4c6 Author: John Baldwin AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:00 +0000 Remove unused bhndb_devclass. --- sys/dev/bhnd/bhndb/bhndb.c | 2 -- sys/dev/bhnd/bhndb/bhndb.h | 1 - sys/dev/bwn/if_bwn_pci.c | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/bhnd/bhndb/bhndb.c b/sys/dev/bhnd/bhndb/bhndb.c index 323972f5585c..a5b4ea2273a8 100644 --- a/sys/dev/bhnd/bhndb/bhndb.c +++ b/sys/dev/bhnd/bhndb/bhndb.c @@ -2304,8 +2304,6 @@ static device_method_t bhndb_methods[] = { DEVMETHOD_END }; -devclass_t bhndb_devclass; - DEFINE_CLASS_0(bhndb, bhndb_driver, bhndb_methods, sizeof(struct bhndb_softc)); MODULE_VERSION(bhndb, 1); diff --git a/sys/dev/bhnd/bhndb/bhndb.h b/sys/dev/bhnd/bhndb/bhndb.h index 59b237e07756..cf3432a7710c 100644 --- a/sys/dev/bhnd/bhndb/bhndb.h +++ b/sys/dev/bhnd/bhndb/bhndb.h @@ -43,7 +43,6 @@ #include "bhndb_bus_if.h" -extern devclass_t bhndb_devclass; DECLARE_CLASS(bhnd_bhndb_driver); int bhndb_attach_bridge(device_t parent, device_t *bhndb, int unit); diff --git a/sys/dev/bwn/if_bwn_pci.c b/sys/dev/bwn/if_bwn_pci.c index 51ff56184f8a..63f3f78a18f1 100644 --- a/sys/dev/bwn/if_bwn_pci.c +++ b/sys/dev/bwn/if_bwn_pci.c @@ -297,7 +297,7 @@ MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_siba, siba_devices, nitems(siba_devices) - 1); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_bcma, bcma_devices, nitems(bcma_devices) - 1); -DRIVER_MODULE(bhndb, bwn_pci, bhndb_pci_driver, bhndb_devclass, NULL, NULL); +DRIVER_MODULE(bhndb, bwn_pci, bhndb_pci_driver, NULL, NULL); MODULE_DEPEND(bwn_pci, bwn, 1, 1, 1); MODULE_DEPEND(bwn_pci, bhnd, 1, 1, 1);