From nobody Mon May 9 19:23:20 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 147971AC3EC0; Mon, 9 May 2022 19:23:23 +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 4KxrgF1HWqz3pHX; Mon, 9 May 2022 19:23:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124201; 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=OpoWfLORf++aJqVvr3llsHWjB/ssU9wPqeyCsOGptXU=; b=UwizO4dbSv0uxWD7DOqBAfhoR2GpTzOdhxMHAzSmIe1xtpIz2iWnYDZMpJfA1yQBRGGJxH xczkgVdePIy4Ws5E8nO13cjZQPNoH05mKuaklrqkGuaEuF4eew7vpVfeKyk5blfwbaRnVL Pxd4/6uotA9e1Yr7gRrPkM0Q2Nq0X3okJl3J2KeytzFLcX1LxyDjrD9Y1T24kyxcbDDirW jhduQdFr83AAbGxxCj+XEeOhOFgaLH4xcVzRhC3X2fIKIzvOHf8BMexZyDKC78bxaN4U3t 1jBS6OGUknfFdf0LK4bc9orNea1DoVzn4bez6cdrV0ML1ntTgQvN6On+YmfBKw== 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 B4B9917092; Mon, 9 May 2022 19:23:20 +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 249JNKuu086047; Mon, 9 May 2022 19:23:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNK45086046; Mon, 9 May 2022 19:23:20 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:20 GMT Message-Id: <202205091923.249JNK45086046@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: 68781fb37b61 - main - proto: 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: 68781fb37b61fa37e4c26ee67b20dd0b3ed8726b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124201; 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=OpoWfLORf++aJqVvr3llsHWjB/ssU9wPqeyCsOGptXU=; b=eXMMJD0yZxxaocxqfs5CfO5XDSEZKG2uHkgSGjuavBitnzB1aOuEa/JmL0L+DiNBzK9tPL mjpHpx6naUXD+hyGFJSY/qk14vscVLUbpcBloRnS9hMyy8C/pGnAdN75BJ+P6zaDDnh9us 7KmokPQY4wkwPrJaq6V74M7+gwzt/ag9Gj+ppZoJoGAaMb5MuCZvIaTno4PnS9gwY1tIvp TIV49KtlFoUnbFuKQgSYyYb/EYfnSxsiK42hK/vwTSdygxIfSbKZdXGfZLTwm0kyAJesHl fHLbrh/BO2HXEvjI3Way0GaLuzLsn8L6+goSjT/PvRxw7FF1gWGe3E8CGpsCoQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124201; a=rsa-sha256; cv=none; b=n6vaWtCc8/1/6KHpQaxeGMimGKQsXDiIpTaD7d7EkPvU8qrCgnKJd2smKgwG4lX9a0RFuW 2MzyqkjIOFU7dE9oVBsxiDdBGc8eMFEIlRh1v5YXxCyFglV+K/rhbk0F32mnZj9f/3Gh7Y rYUdQehnXTD3xh2tjNQYmMAu8m2Nlm3+xtrGJIWGEd8iOWh4DE/sKytq3rK5gjsYTODkVm i/zCIW0Sm+1Ia5ASnrQoBYAh3S0aaRJlWjWUZXe3690+1DlgnK8QECZK8IMaU+nycN9NMm 29WDA96unMwA5iImM6+1s6cr5Uz+x+kortQlR2fBMmRBFmfbuLW0dVBIOhnQgw== 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=68781fb37b61fa37e4c26ee67b20dd0b3ed8726b commit 68781fb37b61fa37e4c26ee67b20dd0b3ed8726b Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 proto: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/proto/proto.h | 1 - sys/dev/proto/proto_bus_isa.c | 4 ++-- sys/dev/proto/proto_bus_pci.c | 2 +- sys/dev/proto/proto_core.c | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/dev/proto/proto.h b/sys/dev/proto/proto.h index 14f6af648f82..fe6b06678ae9 100644 --- a/sys/dev/proto/proto.h +++ b/sys/dev/proto/proto.h @@ -58,7 +58,6 @@ struct proto_softc { struct mtx sc_mtx; }; -extern devclass_t proto_devclass; extern char proto_driver_name[]; int proto_add_resource(struct proto_softc *, int, int, struct resource *); diff --git a/sys/dev/proto/proto_bus_isa.c b/sys/dev/proto/proto_bus_isa.c index 4dad91cc7cf9..15bb2911cb2d 100644 --- a/sys/dev/proto/proto_bus_isa.c +++ b/sys/dev/proto/proto_bus_isa.c @@ -120,5 +120,5 @@ proto_isa_attach(device_t dev) return (proto_attach(dev)); } -DRIVER_MODULE(proto, acpi, proto_isa_driver, proto_devclass, NULL, NULL); -DRIVER_MODULE(proto, isa, proto_isa_driver, proto_devclass, NULL, NULL); +DRIVER_MODULE(proto, acpi, proto_isa_driver, NULL, NULL); +DRIVER_MODULE(proto, isa, proto_isa_driver, NULL, NULL); diff --git a/sys/dev/proto/proto_bus_pci.c b/sys/dev/proto/proto_bus_pci.c index 38155ce7c624..23e753e142a5 100644 --- a/sys/dev/proto/proto_bus_pci.c +++ b/sys/dev/proto/proto_bus_pci.c @@ -115,4 +115,4 @@ proto_pci_attach(device_t dev) return (proto_attach(dev)); } -DRIVER_MODULE(proto, pci, proto_pci_driver, proto_devclass, NULL, NULL); +DRIVER_MODULE(proto, pci, proto_pci_driver, NULL, NULL); diff --git a/sys/dev/proto/proto_core.c b/sys/dev/proto/proto_core.c index 44199bdd7b8f..fb05eb66877d 100644 --- a/sys/dev/proto/proto_core.c +++ b/sys/dev/proto/proto_core.c @@ -66,7 +66,6 @@ CTASSERT(SYS_RES_IRQ != PROTO_RES_BUSDMA && SYS_RES_MEMORY != PROTO_RES_BUSDMA && SYS_RES_IOPORT != PROTO_RES_BUSDMA); -devclass_t proto_devclass; char proto_driver_name[] = "proto"; static d_open_t proto_open;