From nobody Mon May 09 19:23:29 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 ACBDB1AC47C3; Mon, 9 May 2022 19:23:32 +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 4KxrgQ0fdRz3pTJ; Mon, 9 May 2022 19:23:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124210; 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=uXSAs5E3uGKII1lkmkh1EWRkYWe8/IeTjxYbe4b8oHk=; b=oGmDAfcbLGB4l+y5VZ/Q5uXx2Iv1qPUokIBL41MvqF2qcUqmvSBQw0nB+CFfFM7uGlfJV5 xCKKLEs+DGVumK4Qry6o7EhEr2ZzP1YMlRGb/yNlbKLa3eajwUzWeXiZYnGzTfd7BtareN e4j3w6KUEt9eXQGkLiGEvx551vxACvR8WOcKsKhatJYyX/C9boq2EmB0R+KoLEHWwoR/4c NeDqkTfSX8cDr7wxtwMPUj/wc8C27fF7WM5EtbQ6JyMOgsxx5/Peu/xpcIaZL6PO5//+vV DgZmnB1V7Va6fGeMvC48Ix//Mo/YvhcGWQVfdzVtKPIwIsdw1LWENzuI/FQcwQ== 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 C691817024; Mon, 9 May 2022 19:23:29 +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 249JNTU7086251; Mon, 9 May 2022 19:23:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNTHF086250; Mon, 9 May 2022 19:23:29 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:29 GMT Message-Id: <202205091923.249JNTHF086250@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: 372cb4d0cc31 - main - spigen: Remove unused devclass argument 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: 372cb4d0cc317e841a1f8f6582851160e078d16b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124210; 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=uXSAs5E3uGKII1lkmkh1EWRkYWe8/IeTjxYbe4b8oHk=; b=bZR4inIwz7V5OD+IIiG5fP/j1f/u6JjVgCKjrBbQ0+RRBIPIfkPQWHn/H+VxC3/D9ES0zd viiDWThEkMrWldHDzDqcA7suGflqCasILxa7kT01Ir+bLz4RJEp4AQa0xcEfOr4S3KjhWF QAS0wCCyu9C71ScMpr7WdPESF7qtX38o59uxb+dN3BYwiOZcCE8Hmh8VCPhPnH+V9dIAEt ovXh+8M2e/MQzCyvn6CelFvG3CXf7mljufbOdaxEp6x5SIAepKfxNjWDRjybECTTDf00XJ Myd5FcZ+cuZFzSWqd7+SiKJjXDp8cgYCVGhbJJNUOEw4285TxINItO5kXj3lvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124210; a=rsa-sha256; cv=none; b=JmISz5gnQ7FDndHYbHaTe1OU4gZ9/PVFoZgQr0xjpVjGKmfXCls7qXwqb76GmFPoD9fYn1 bjGAhS9BGjCmPvEnGxiHvQXhOoMPZnKcwBgBm1lf+GpTiqOKjX6tRJuF10NF7CYpuFWDJF 4/fAX6Ns+BqozfpLzURdf8nBpT6oe6jxlr9xekc+ryqTsQYejYVQogXVqbqrcRqeBog6N2 U0YaKV/vEkkidxTy1avCSjkoVPOLjCEPMq7aS8wU9eFTnw0aaI6HI6/bcdzYDqtreDt3mR /NochzMQtubyzE6yPDsnKvqPVbLStxsLw22t2GMF0yKP/tDQbQtTXPAcUuNz6g== 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=372cb4d0cc317e841a1f8f6582851160e078d16b commit 372cb4d0cc317e841a1f8f6582851160e078d16b Author: John Baldwin AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:04 +0000 spigen: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/spibus/spigen.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/spibus/spigen.c b/sys/dev/spibus/spigen.c index 68e19c6a0760..a943c9ee4a1f 100644 --- a/sys/dev/spibus/spigen.c +++ b/sys/dev/spibus/spigen.c @@ -376,8 +376,6 @@ spigen_detach(device_t dev) return (0); } -static devclass_t spigen_devclass; - static device_method_t spigen_methods[] = { /* Device interface */ DEVMETHOD(device_probe, spigen_probe), @@ -392,7 +390,7 @@ static driver_t spigen_driver = { sizeof(struct spigen_softc), }; -DRIVER_MODULE(spigen, spibus, spigen_driver, spigen_devclass, 0, 0); +DRIVER_MODULE(spigen, spibus, spigen_driver, 0, 0); MODULE_DEPEND(spigen, spibus, 1, 1, 1); #ifdef FDT SIMPLEBUS_PNP_INFO(compat_data);