From nobody Tue May 10 17:36:17 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 D323A1ACFC48; Tue, 10 May 2022 17:36:18 +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 4KyQFG08Vnz4hWg; Tue, 10 May 2022 17:36:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204178; 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=s6nTOSf/6sVWXyRumgq4rh/ZGiRZDFzId2s4NwWd2Tk=; b=u05q0oQ6jL0MdxpJiSlEhQy0k6VT2//rIF9kM39fYHftOuRCAwxHaTk2hMd9Dp7WxYOYFd dDsuFnuhkDJKZLC2u1QYi6+2ph413bGGHL1/qT5+0y5rjPjtBCn6heIHFdvO5G7lDrrhUB 2u/pN0bfN6y4L16Zgaa5oTTXJ/1C10/VEZW+k+UfScbYt4t6H2IjU718p6vGVU2Tb5njkB /L7rchufKECN8fAPC04zik63+tebx5THRh6Udan1aVxyOtq1XKM/WwIri/5f82nrrew184 gjQ6atnFWZ33N0YXRVDvNDyw/KgHwbZrNRNY90sROOvdRQS/Ne3WGBFc0tUS5A== 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 89A5A17F8; Tue, 10 May 2022 17:36:17 +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 24AHaHbR098902; Tue, 10 May 2022 17:36:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaHdZ098901; Tue, 10 May 2022 17:36:17 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:17 GMT Message-Id: <202205101736.24AHaHdZ098901@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: 52ed569ba542 - main - Remove unused openpic_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: 52ed569ba542a76f9e259b16be43e32360112df8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204178; 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=s6nTOSf/6sVWXyRumgq4rh/ZGiRZDFzId2s4NwWd2Tk=; b=TWuRvekd9Z3DQ7KYWqH1Yzwhna90MOLoIhfxGI3bF9kk/aZfXu3Q+X3a/gYt2HIVbWQS/f pWgHrcG9cW6J5Ov6d3AF+emxvWhlP+qGk5YmwIw9r09JGk0f2hOIfCmRpyTXR9l/fvk/79 kSN3dduSIQLSY2fqrxZ8xLSmQlweGFsXXGdyXRTwco29QX5ebV3lwclZ7y5mdkeV9aQytN s7tGy5hqAcIqzddlvu4v6Vii5DN0taS9p/ejud/GQkDPZXbqeEhOZiOm+WYtzM+ra8QGrJ IhRzRYVLKRKn29209A5xy6xm7hwsyGC3h3dIeAzWQ16/+ay+AJSpgjF54kIndg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204178; a=rsa-sha256; cv=none; b=mdsvZEJooMP8wws2o+6VLtDWlO5GWkDmI1lLfrSxBexTGZsQuXJl9Wj8SowOZQqrLxWvz3 p7JM670kY8kovijo3WU1JFoOxi1MDEC6vN08dQSZnVtRmsn40bQE+EYQpim5q9Oq8AimC/ Gyvm2on90D5onPENIbxLfMtmNUUspZiZ8MnN/W3O9ts+3fzY0j7nxscwcAJpJ7yFOfwDOv LK7ZI8bWagXwciFclav6dzRWDyoQeNfnSCL5Z91zKs7tKAN1L3KbO/8GXi8i6veSaM02A2 3379Qzv2SYWnLOoTHkvMtmRNSlsE8ySWHwV3207BCzqdt3ZErgLDb5C0meKlxA== 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=52ed569ba542a76f9e259b16be43e32360112df8 commit 52ed569ba542a76f9e259b16be43e32360112df8 Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 Remove unused openpic_devclass. --- sys/powerpc/include/openpicvar.h | 2 -- sys/powerpc/ofw/openpic_ofw.c | 10 +++++----- sys/powerpc/powermac/cpcht.c | 4 ++-- sys/powerpc/powerpc/openpic.c | 2 -- sys/powerpc/psim/openpic_iobus.c | 2 +- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/sys/powerpc/include/openpicvar.h b/sys/powerpc/include/openpicvar.h index 123af7c1a502..d848a69f5585 100644 --- a/sys/powerpc/include/openpicvar.h +++ b/sys/powerpc/include/openpicvar.h @@ -69,8 +69,6 @@ struct openpic_softc { }; -extern devclass_t openpic_devclass; - /* * Bus-independent attach i/f */ diff --git a/sys/powerpc/ofw/openpic_ofw.c b/sys/powerpc/ofw/openpic_ofw.c index 7790a9b3aa3a..fc9fa25e0d17 100644 --- a/sys/powerpc/ofw/openpic_ofw.c +++ b/sys/powerpc/ofw/openpic_ofw.c @@ -95,11 +95,11 @@ static driver_t openpic_ofw_driver = { sizeof(struct openpic_softc), }; -EARLY_DRIVER_MODULE(openpic, ofwbus, openpic_ofw_driver, openpic_devclass, - 0, 0, BUS_PASS_INTERRUPT); -EARLY_DRIVER_MODULE(openpic, simplebus, openpic_ofw_driver, openpic_devclass, - 0, 0, BUS_PASS_INTERRUPT); -EARLY_DRIVER_MODULE(openpic, macio, openpic_ofw_driver, openpic_devclass, 0, 0, +EARLY_DRIVER_MODULE(openpic, ofwbus, openpic_ofw_driver, 0, 0, + BUS_PASS_INTERRUPT); +EARLY_DRIVER_MODULE(openpic, simplebus, openpic_ofw_driver, 0, 0, + BUS_PASS_INTERRUPT); +EARLY_DRIVER_MODULE(openpic, macio, openpic_ofw_driver, 0, 0, BUS_PASS_INTERRUPT); static int diff --git a/sys/powerpc/powermac/cpcht.c b/sys/powerpc/powermac/cpcht.c index 965b1eeb45e7..c4b658f2347a 100644 --- a/sys/powerpc/powermac/cpcht.c +++ b/sys/powerpc/powermac/cpcht.c @@ -549,8 +549,8 @@ static driver_t openpic_cpcht_driver = { sizeof(struct openpic_cpcht_softc), }; -EARLY_DRIVER_MODULE(openpic, unin, openpic_cpcht_driver, openpic_devclass, - 0, 0, BUS_PASS_INTERRUPT); +EARLY_DRIVER_MODULE(openpic, unin, openpic_cpcht_driver, 0, 0, + BUS_PASS_INTERRUPT); static int openpic_cpcht_probe(device_t dev) diff --git a/sys/powerpc/powerpc/openpic.c b/sys/powerpc/powerpc/openpic.c index a8371e18c6ef..39c85082c063 100644 --- a/sys/powerpc/powerpc/openpic.c +++ b/sys/powerpc/powerpc/openpic.c @@ -54,8 +54,6 @@ #define OPENPIC_NIPIS 4 -devclass_t openpic_devclass; - /* * Local routines */ diff --git a/sys/powerpc/psim/openpic_iobus.c b/sys/powerpc/psim/openpic_iobus.c index 85f2a34b2e0b..40ab06d93347 100644 --- a/sys/powerpc/psim/openpic_iobus.c +++ b/sys/powerpc/psim/openpic_iobus.c @@ -89,7 +89,7 @@ static driver_t openpic_iobus_driver = { sizeof(struct openpic_softc) }; -DRIVER_MODULE(openpic, iobus, openpic_iobus_driver, openpic_devclass, 0, 0); +DRIVER_MODULE(openpic, iobus, openpic_iobus_driver, 0, 0); static int openpic_iobus_probe(device_t dev)