From nobody Tue May 10 17:36:12 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 B8AE21ACF8A9; Tue, 10 May 2022 17:36:13 +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 4KyQF93W0vz4hWF; Tue, 10 May 2022 17:36:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204173; 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=lcKtc3gK5ZogCfSkAd0vsaWLpiCr4BJT+w0IBVIaM7Q=; b=tDNR8at8w7yqwAxqRJPFqxF3ExIOW+iIwHGEuFYcQ/9rEmvnjGgE0PjKyVt1QWI0CxMTpZ evZgQIi8rjWIyiD4w7+tIiCqvq5ApvOjI4zIGI3cbOVxo9HQx+g5Kx5aSWnkuIkAcY9U65 znyyooDZ21r6K1YagdaPu7lCSmCFQ4iZ0ty8ncUIkAHwZtWTlp1J3M5LqfxZw34dVi9vFe SjN/6fEv5aOvHgI13wBA9fk8LO4rX7nzQhhLpKCFJ/tuWW6S65YXs4THuEXepEl1MxNioa nJN98e0w2Uxb0HnZgJe+TxmhLljdYv9hVdIOHWl28KhwBDa5kNQR7Cg6NigZsw== 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 ECC1917F7; Tue, 10 May 2022 17:36:12 +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 24AHaCpO098805; Tue, 10 May 2022 17:36:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaCVZ098804; Tue, 10 May 2022 17:36:12 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:12 GMT Message-Id: <202205101736.24AHaCVZ098804@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: 42f777fc202b - main - Remove unused adb_devclass. 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: 42f777fc202bb41aa786b18fda51b205e740b47b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204173; 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=lcKtc3gK5ZogCfSkAd0vsaWLpiCr4BJT+w0IBVIaM7Q=; b=S4m54bpLtbyA6Egr1PeJv0Gv7Z8k5k0bHXzIuaDFADZIQVHj/lfklZze+fXCRhqgnAkUwY JSIOBfkigbYC4b+iZbGHt5y6lcAAbPVGUke/NYkC5E6U8mcTpkPya28FHtSnd74IqplDkL goZChwzLu0Tpwh6rJUYmRu5HeT0I9SQwp4xlANAOX0UiXdBFjc506P9QVE9KRP6zORppAP yvQ3Lchn+LnoZyERrSPfbhASLbqDhadDCmmK8Rg196YaEwVQJqmABrd5brMLyvies0/spv M8Otl61HuhlPQKTihPxe/9ia/Nb6vGvY+8/7Q/1D1kUXiBe5n4x58noE7P06Hg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204173; a=rsa-sha256; cv=none; b=l5ZIh4xe8GTrdcyPU2Op6fcqMeZmiN4GnX6KDFOxsQw3ZJaKpvgt0LOzbKCOD1w14vgdUD 9ZBf4KG6Y4nQd+ltZIJ+otCH4wIepwxrBda4Tpd4gdjYCf3CmxkQB0ER8d7pW69WDWt1R3 R3HhISYwvR/x6mr04O+dMDUt2Oetu7N9Z98EyebHrK9abcL1zuiXVEdAP54gk72d2fj0kV LerwSPKTZp6AfM5ROXX5+iluhg8h9H8dB+cOY6NyyTVSFUGyxef5+MxpJBwq1pcfaPQqzr xpH8+R1yga0tP37xrrE2V7ibhuavbXW2iPWS5x3ouvgK9dS3e0oknwZDo1hkDA== 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=42f777fc202bb41aa786b18fda51b205e740b47b commit 42f777fc202bb41aa786b18fda51b205e740b47b Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 Remove unused adb_devclass. --- sys/dev/adb/adb.h | 1 - sys/dev/adb/adb_bus.c | 2 -- sys/powerpc/powermac/cuda.c | 2 +- sys/powerpc/powermac/pmu.c | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/dev/adb/adb.h b/sys/dev/adb/adb.h index 6b007c469597..c29a52dac623 100644 --- a/sys/dev/adb/adb.h +++ b/sys/dev/adb/adb.h @@ -74,7 +74,6 @@ size_t adb_read_register(device_t dev, u_char reg, void *data); size_t adb_write_register(device_t dev, u_char reg, size_t len, void *data); /* Bits for implementing ADB host bus adapters */ -extern devclass_t adb_devclass; extern driver_t adb_driver; #endif diff --git a/sys/dev/adb/adb_bus.c b/sys/dev/adb/adb_bus.c index 8c300c83df10..e5f858a2a227 100644 --- a/sys/dev/adb/adb_bus.c +++ b/sys/dev/adb/adb_bus.c @@ -78,8 +78,6 @@ driver_t adb_driver = { sizeof(struct adb_softc), }; -devclass_t adb_devclass; - static int adb_bus_probe(device_t dev) { diff --git a/sys/powerpc/powermac/cuda.c b/sys/powerpc/powermac/cuda.c index 3c17448187e7..0feb197143f3 100644 --- a/sys/powerpc/powermac/cuda.c +++ b/sys/powerpc/powermac/cuda.c @@ -116,7 +116,7 @@ static driver_t cuda_driver = { static devclass_t cuda_devclass; DRIVER_MODULE(cuda, macio, cuda_driver, cuda_devclass, 0, 0); -DRIVER_MODULE(adb, cuda, adb_driver, adb_devclass, 0, 0); +DRIVER_MODULE(adb, cuda, adb_driver, 0, 0); static void cuda_intr(void *arg); static uint8_t cuda_read_reg(struct cuda_softc *sc, u_int offset); diff --git a/sys/powerpc/powermac/pmu.c b/sys/powerpc/powermac/pmu.c index 642206fd4f78..56194d85e7bb 100644 --- a/sys/powerpc/powermac/pmu.c +++ b/sys/powerpc/powermac/pmu.c @@ -158,7 +158,7 @@ static devclass_t pmu_devclass; EARLY_DRIVER_MODULE(pmu, macio, pmu_driver, pmu_devclass, 0, 0, BUS_PASS_RESOURCE); -DRIVER_MODULE(adb, pmu, adb_driver, adb_devclass, 0, 0); +DRIVER_MODULE(adb, pmu, adb_driver, 0, 0); static int pmuextint_probe(device_t); static int pmuextint_attach(device_t);