From nobody Fri May 06 22:43:43 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 2A7DB1ABA09F; Fri, 6 May 2022 22:43:45 +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 4Kw5Fr0d28z3w2V; Fri, 6 May 2022 22:43:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877024; 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=CGvvvWID+esrRzCyOS9hFx7zgCT/co21Y89iD5SrCKc=; b=LqpL+34x0hqHcCOCBGNjAhiYxzgviukp7TVhmS+ZuGZFAwLogix/0FdXlReQMwEIDbwg6y IkMyolA+lbguDtwQBIRQJvFVfCGBuXnAft+GpLt0WOuj1qFNF/fhQktIE5qfch23zqAXay QeBVoEO3C6fCSu9hldAWnHsrsD+u/67pa+vFfqLoAstVF6AY7rYVELk8m6BTrYt37yXxw+ B+hghy59xBlRDp/vKgd8O8HNr08XWsY3D4lbdSB35O/1mpgoN/D3csk/AiB3T2RLW4g6gs skWmzpDCjRd98Gjm1/4fGr6Q79QQzJNqpY5EXPwu2uvoSeG4CoQLPSye1q1i2Q== 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 7F00F24A27; Fri, 6 May 2022 22:43:43 +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 246MhhDk020061; Fri, 6 May 2022 22:43:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mhh21020060; Fri, 6 May 2022 22:43:43 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:43 GMT Message-Id: <202205062243.246Mhh21020060@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: 9cd54db59d08 - main - mlx: 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: 9cd54db59d08d5452f51d993c85f2a470a9473fe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877024; 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=CGvvvWID+esrRzCyOS9hFx7zgCT/co21Y89iD5SrCKc=; b=Z+akoL/dpxqnejtwCjuRNWzH6q6YY4IHRY+0r4XZqup6a3+Z01dInfm8TAZI9NzSWqQGMW z7Z+4yWz47SeXP7A5oWgt7wbvYZyQ3tP87NljnMQrZtpd8mj1HmiRHO0RBo3BoSBRihuyY qIPmom4seidDav0gojWVJbErd3HCQS+DYOHwZEP54XMBxBd1Bo6BX6N6QZJ+QJE2RVwwAV lb6Def6/dZdG9dRcyAp9+ID4pHSFDtGWGkr0SdF9i2GwQfzNVHEXNa9v3FUZNtiB2PVTxc hKofobX6yF9dIO3YVVxruaP9wQPfK7673uxHrNKGGVilAZ0sJ45sjH9T+e9LQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877024; a=rsa-sha256; cv=none; b=e2MbueJOOhLatmC3lW9w0SuJO2c9x/096G9Sbx+xDiKNp8ANWVy2NKCfbSZGSpvUbw4hcw fBPLss2VkAx/eAPDdaEiqUVPpAl1iYRIAypSmnX38exMvC99cXnlLQOxbmgWUEdHkPIddx u9Bzqag5ROomWE+6fWzXQdJ/DC/fLNYRR0rVRIjVriXMvWVC/TWs+a48Rxl65Ryy5ryC9d JlRVPmA80ts9BMHn3xsLfGPCcEO8QecSQ/Tdou9vfyZKbr5xl0ZMPLMDgj8tnuVOt9cunf 5/uHtl4IzHS1+/GKwH5PnERQE739FyWzWqjHYlz3TBXpaGpoYm3JGBJ2kK4LvA== 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=9cd54db59d08d5452f51d993c85f2a470a9473fe commit 9cd54db59d08d5452f51d993c85f2a470a9473fe Author: John Baldwin AuthorDate: 2022-04-20 16:58:52 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:31 +0000 mlx: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/mlx/mlx.c | 2 -- sys/dev/mlx/mlx_disk.c | 4 +--- sys/dev/mlx/mlx_pci.c | 2 +- sys/dev/mlx/mlxvar.h | 3 --- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c index 1afdccdc49c5..b24033f1598c 100644 --- a/sys/dev/mlx/mlx.c +++ b/sys/dev/mlx/mlx.c @@ -64,8 +64,6 @@ static struct cdevsw mlx_cdevsw = { .d_name = "mlx", }; -devclass_t mlx_devclass; - /* * Per-interface accessor methods */ diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index bc487d1330a0..2eb4ee1c106c 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -60,8 +60,6 @@ static int mlxd_probe(device_t dev); static int mlxd_attach(device_t dev); static int mlxd_detach(device_t dev); -devclass_t mlxd_devclass; - static device_method_t mlxd_methods[] = { DEVMETHOD(device_probe, mlxd_probe), DEVMETHOD(device_attach, mlxd_attach), @@ -75,7 +73,7 @@ static driver_t mlxd_driver = { sizeof(struct mlxd_softc) }; -DRIVER_MODULE(mlxd, mlx, mlxd_driver, mlxd_devclass, 0, 0); +DRIVER_MODULE(mlxd, mlx, mlxd_driver, 0, 0); static int mlxd_open(struct disk *dp) diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c index a61701d54e58..b5d7bddef3b6 100644 --- a/sys/dev/mlx/mlx_pci.c +++ b/sys/dev/mlx/mlx_pci.c @@ -75,7 +75,7 @@ static driver_t mlx_pci_driver = { sizeof(struct mlx_softc) }; -DRIVER_MODULE(mlx, pci, mlx_pci_driver, mlx_devclass, 0, 0); +DRIVER_MODULE(mlx, pci, mlx_pci_driver, 0, 0); struct mlx_ident { diff --git a/sys/dev/mlx/mlxvar.h b/sys/dev/mlx/mlxvar.h index 4db328f72b4b..4244b88ff101 100644 --- a/sys/dev/mlx/mlxvar.h +++ b/sys/dev/mlx/mlxvar.h @@ -206,9 +206,6 @@ extern d_open_t mlx_open; extern d_close_t mlx_close; extern d_ioctl_t mlx_ioctl; -extern devclass_t mlx_devclass; -extern devclass_t mlxd_devclass; - /* * Mylex System Disk driver */