From nobody Tue May 10 17:36:27 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 EC3571AD07D0; Tue, 10 May 2022 17:36:28 +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 4KyQFS15NCz4hsf; Tue, 10 May 2022 17:36:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204188; 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=or2yieJ07cdUxZAXSe6eSF3NNlBf9MEuAVzOPIDqlBI=; b=wMqFkJ1jiesMg6SQB3cxv+SsAG0fJytQ5r+b7bi7rJntFDiaQoVbOkIT/jCcRhKBXC5llH vLQoZLsYveXMteKWg6NqxYsrtf8Tv8CuEvqEnewB4AJ+AsKBJeOYTZSqpwC4qQPFaW8qow Osdt8YwsMIDZaIRwmGhxXGAvimt36fTo9YPEE9zY8bcsAk6eVDkaa3z+uxnRUJGMpbEDv/ 7nOZZwMkaZKDGtsB6MLa5Rm5qIrD6bUyYQw4GUFvclvmnApdfnjoJitfN4Gqsik2618fTa zESX8TqMkxzoYDW4lL9DW45G2D0kAkD6CqFsgyNZL0zaZuHWdhHRF/xrcAk6RA== 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 D7C691C8C; Tue, 10 May 2022 17:36:27 +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 24AHaRfh099130; Tue, 10 May 2022 17:36:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaRSg099129; Tue, 10 May 2022 17:36:27 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:27 GMT Message-Id: <202205101736.24AHaRSg099129@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: f92448c99372 - main - powerpc psim: Remove unused devclass arguments 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: f92448c993729dc8a3d68ff61d56d186d4a141cf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204188; 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=or2yieJ07cdUxZAXSe6eSF3NNlBf9MEuAVzOPIDqlBI=; b=I14Dm1rMYFHvv/Jp8aFNO7WGZLolmrcJvcJ7tyqtOZpJXPwMWgLlDqTwMWbyyr/l/jy9cL UpJ/bXgBDoEQkTn31DdwJfmtsFgiTob8NbZy23gdYc+d54Ut6AMULsHGXso8jRzRdDVgME aYyc2M1t8EZygEwXMaCMWjRbxTpwhOoDwNWX9Q7rzgLbMZp6eFsJSWISnaTYGUZHQ5K+sj skOa9jTTA/LC/2rrdJR7jzMQhUSfo+ONxQSKGhbbuk2cV3VVT7duDLggVXyTEL6JiziyUZ p4yzY5ayag3kt3xXcsIkNWAYKOYjbseo4LNqKk9VTHXmYjXvslS9MNCwbjHE8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204188; a=rsa-sha256; cv=none; b=xE8wf2izROflSBrybESiDgZpJXLlQhFR485pB7vfyfYZJ2ik1yIxEQs/Qfr0xCx0f7285M FUC6IVXlwvLMeyfUD9LC1sJmfUR/vvfHn9TL014Gmz60tOMlhIXvIZarj/OaucOlJy/OBf a/Zug0Fj2mfJwVtJ87XqjXuwKLuTGLDaXpL7paqjiXtApoL+LN55I06d2WPnA7Xm9kUtb/ PFXlAo53FhBDjO7G41uDswEH8sMW1lki6Ya6z8NEPPBU4NR/cYv9WoaRz8xf5fIpSWwvkg Nvz0IwY2VtEfnb/tgnMOmvWkpfF3q6d3nQ34CmoRqOknABwvzyYdziEdt0zE/Q== 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=f92448c993729dc8a3d68ff61d56d186d4a141cf commit f92448c993729dc8a3d68ff61d56d186d4a141cf Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 powerpc psim: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/psim/ata_iobus.c | 5 +---- sys/powerpc/psim/iobus.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/powerpc/psim/ata_iobus.c b/sys/powerpc/psim/ata_iobus.c index 95d916df3b64..af69e06c764c 100644 --- a/sys/powerpc/psim/ata_iobus.c +++ b/sys/powerpc/psim/ata_iobus.c @@ -92,10 +92,7 @@ static driver_t ata_iobus_driver = { 0, }; -static devclass_t ata_iobus_devclass; - -DRIVER_MODULE(ataiobus, iobus, ata_iobus_driver, ata_iobus_devclass, NULL, - NULL); +DRIVER_MODULE(ataiobus, iobus, ata_iobus_driver, NULL, NULL); MODULE_DEPEND(ata, ata, 1, 1, 1); static int diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c index 03aae266deaa..3e2c6aa658fc 100644 --- a/sys/powerpc/psim/iobus.c +++ b/sys/powerpc/psim/iobus.c @@ -115,9 +115,7 @@ static driver_t iobus_driver = { sizeof(struct iobus_softc) }; -devclass_t iobus_devclass; - -DRIVER_MODULE(iobus, ofwbus, iobus_driver, iobus_devclass, 0, 0); +DRIVER_MODULE(iobus, ofwbus, iobus_driver, 0, 0); static int iobus_probe(device_t dev)