From nobody Tue May 10 17:36:47 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 AD3711AD1A4B; Tue, 10 May 2022 17:36:48 +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 4KyQFq4J11z4hs1; Tue, 10 May 2022 17:36:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204208; 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=q3jsZThcRwleJJHQV+PoeeNJPDHLRvZ4m85G8O//5Sg=; b=k1j4wLB9w4XcjCBZjXmOrnx8NorbZ/6Y3HOMjt6YmZ/RIBQQ0CyPs10as/jMFlg0tG1CD2 Oo+FQcL9szrydEfIR4mvXlAiaHFDyExKkho+uYHcyaU1pmno7HHsS4HVZi3wPpkxQwqhqZ FHv4Rux4JHO60eTVlpnoNOC17q6DbxjcWVygiEWqVg/EDuX3mCEYd+cQlNGUvS3nGY1gEa +0dujUbgWTw7EWwSJtrJSpvUeFLzHXi9WUisdnguw8FeNWUbfF972jL10Jw9EuxChHSMHf w5hr+DBZBth0IXoVbUJN8BTQqUqgPMzRrrG1fQCeanqCrMpH0EMD6EJEteUIvg== 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 5D2431C8E; Tue, 10 May 2022 17:36:47 +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 24AHalEk099556; Tue, 10 May 2022 17:36:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHalJw099555; Tue, 10 May 2022 17:36:47 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:47 GMT Message-Id: <202205101736.24AHalJw099555@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: 2814052937a0 - main - quicc: Remove unused devclass argument 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: 2814052937a0beb8e0bc114c8712f0317eb14ee8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204208; 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=q3jsZThcRwleJJHQV+PoeeNJPDHLRvZ4m85G8O//5Sg=; b=dS9jPjcpPB0UGeFh1rn7l4qedIO1+RBOjtldJi9IC+qPrUxi3Fcb9QMEK8PT7H5GUOr10Z //AsjCKwBiTinb/3ei0pdv4oqm9fJJxw9Y+mXavHV4g7IQcSeNeovEw3D5J5tdZm31FON7 9Qsu8/RMxQxT2niBTdshRpBYyIxCl+a79ReOX86kXjNSWDFyvICgN/K9QDyZK95c6iJkEb ecIn+BxPwi3giE7bS9JJ+n1rQmQYe5dVFmhjCOnkJZTWOei8kLr+y43unaxVSwQawtdIxQ G4u4uPyfTNylBpcmAh6V39A9danarksUeNi4I9tdhXG+AyIETz/wQggX4xTRLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204208; a=rsa-sha256; cv=none; b=UAttUfrI978EXRYdRqQlHBcU2eSph9yxBUqFTH3RP70BdRxbE6lsUd2iWrjutTCwnnspbR B69xx3KgpeC0Z/IiVxLaYtGGgHCZo7etseEwCMPQldSWr2zlDCrvO/33j10qKWBvE1SEHC YCH5ARbxJAx/5JFiLi42IPghlnT0QlrG9FBBQauimbeJn5HVW/MwMZhQPXkbHYVR0Ea5BQ NAcMjhnc7pvaxaqt7B2lKmqFlLhjbZZU1bWHMGqa89UH1tu2rcCFepOzVMZ5/efBsqy1ku qh6pTByQJiVlDJ5sI6cI1TjUvngDc9zU83sF3ZQCb9hxX6u8RmeHhlx+WGAQ1Q== 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=2814052937a0beb8e0bc114c8712f0317eb14ee8 commit 2814052937a0beb8e0bc114c8712f0317eb14ee8 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 quicc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/quicc/quicc_bfe.h | 1 - sys/dev/quicc/quicc_bfe_fdt.c | 2 +- sys/dev/quicc/quicc_core.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/quicc/quicc_bfe.h b/sys/dev/quicc/quicc_bfe.h index ea791bc277e3..a4d4ebcf0aa3 100644 --- a/sys/dev/quicc/quicc_bfe.h +++ b/sys/dev/quicc/quicc_bfe.h @@ -55,7 +55,6 @@ struct quicc_softc { int sc_polled:1; }; -extern devclass_t quicc_devclass; extern char quicc_driver_name[]; int quicc_bfe_attach(device_t); diff --git a/sys/dev/quicc/quicc_bfe_fdt.c b/sys/dev/quicc/quicc_bfe_fdt.c index 0888e512a4fd..a05a2d2346d6 100644 --- a/sys/dev/quicc/quicc_bfe_fdt.c +++ b/sys/dev/quicc/quicc_bfe_fdt.c @@ -89,4 +89,4 @@ quicc_fdt_probe(device_t dev) return (quicc_bfe_probe(dev, (uintptr_t)clock)); } -DRIVER_MODULE(quicc, simplebus, quicc_fdt_driver, quicc_devclass, 0, 0); +DRIVER_MODULE(quicc, simplebus, quicc_fdt_driver, 0, 0); diff --git a/sys/dev/quicc/quicc_core.c b/sys/dev/quicc/quicc_core.c index 1a5a15e1e2b1..0aa8c68cb0a2 100644 --- a/sys/dev/quicc/quicc_core.c +++ b/sys/dev/quicc/quicc_core.c @@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$"); #define quicc_write4(r, o, v) \ bus_space_write_4((r)->r_bustag, (r)->r_bushandle, o, v) -devclass_t quicc_devclass; char quicc_driver_name[] = "quicc"; static MALLOC_DEFINE(M_QUICC, "QUICC", "QUICC driver");