From nobody Mon May 09 19:22:53 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 9A9E31AC1EFF; Mon, 9 May 2022 19:22:54 +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 4Kxrfj2Cljz3nwp; Mon, 9 May 2022 19:22:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124174; 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=sqaIgZ3Hwyz2s5DRbADBrb+ThqDBCf7RpQv6lfS8NtQ=; b=jTx6Pu6HNb+4RAjQqpH5GsdV0Tah8F4jGWKbYIXNbS4QDDFwf3+WOs3WfddHaM7z5fqEJB +QJXt80m2yd6dgHjv+9R0mRyjLTFslJxE+uv884TxAoh5wsv4Kamw9hVLL7v0sLFrrtlZz X84qd8VQdkpuL0xxzPedX3LWSNqxhPAamLk1CnlP1MSXg8Hy8hZw5uLYqDh7X3rQ36nyIR UK+5gBgYKFPB3tq0nt/gnmMqNXa4C+b9NLacJezuSK+n2coH/LlOkeUTWeAWMTEhX3qRL9 zHVIHNKLUtnw24uGqvOLUK1X/xGQDpdgnb52oPX/oRyVupn0ATuO+CEQQV4TQQ== 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 2A72216979; Mon, 9 May 2022 19:22:53 +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 249JMreX085447; Mon, 9 May 2022 19:22:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMrFQ085446; Mon, 9 May 2022 19:22:53 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:53 GMT Message-Id: <202205091922.249JMrFQ085446@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: f3498d7b663a - main - alpm: Remove unused devclass argument 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: f3498d7b663aa896d0be43a62911638d36519eb6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124174; 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=sqaIgZ3Hwyz2s5DRbADBrb+ThqDBCf7RpQv6lfS8NtQ=; b=k3XRSkErEYZ/DHhBXB5m4OLtIGa44QwULgMg/hcABaKcSQ1U1724Y/VQRev+zqflahGkqE BzEZepCg37xJMfWOx1DoEfF00xdfXQ5+JXn7yU5MQ9Fgj1KaandDL+nrkl/QCKDBXz6Nxb hDO7IBtTo10MRL1VMc7T9LLDHf7ssuLNob9gCbSHet7D8DlFpCAWAMWR9NoBdcuOKbTNsV jUig+S+Qkj/ALpUZz10o00kTUyLtL9pctdTzkIu3N1w/lZg0jWCVehlzPVKtxsNDBc03vs TUtuTT68tPB6ETKF6UkaUo9V897lIbqYxhvakkSsPwBOumL1+vTXCdImGrltBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124174; a=rsa-sha256; cv=none; b=HV9BA7h8VzY9Ofu/htLcpHyQyeYUgh1ebLrmneYv3I6W3pcVvGahAmGoP6HLeD/x/WdZTP 6hqMYgWhKbJrOpMpXCaAvEOLFsrNXkDy0tyh2CF13DgAceKdS9AgVwNhiMFc6HNUB8cP0z 5RCbSjDVj5W0N5LDjddvEMp6oi6SJMHnjb0tCauqEWgLR75uVbZF7mbiYV5icWxrjj4pWP tA5vlOpQlvFLG4CTMsNcwt7UHpyBEVNz0QVZDg60D47A4bDAMt7omlc0gQ+YlaxtGT1LlZ lLtL/56S+gaXWEyn+XCXJJh1zMX1UbfZu4aGmf3JblFPLNbMQho8/fjaXKJBtg== 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=f3498d7b663aa896d0be43a62911638d36519eb6 commit f3498d7b663aa896d0be43a62911638d36519eb6 Author: John Baldwin AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:01 +0000 alpm: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/alpm/alpm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/alpm/alpm.c b/sys/dev/alpm/alpm.c index 8e41706c12a0..ae260f0bd7f8 100644 --- a/sys/dev/alpm/alpm.c +++ b/sys/dev/alpm/alpm.c @@ -627,8 +627,6 @@ error: return (error); } -static devclass_t alpm_devclass; - static device_method_t alpm_methods[] = { /* device interface */ DEVMETHOD(device_probe, alpm_probe), @@ -655,7 +653,7 @@ static driver_t alpm_driver = { sizeof(struct alpm_softc) }; -DRIVER_MODULE(alpm, pci, alpm_driver, alpm_devclass, 0, 0); +DRIVER_MODULE(alpm, pci, alpm_driver, 0, 0); DRIVER_MODULE(smbus, alpm, smbus_driver, 0, 0); MODULE_DEPEND(alpm, pci, 1, 1, 1); MODULE_DEPEND(alpm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);