From nobody Fri May 06 22:43:22 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 C5A9E1AB93D6; Fri, 6 May 2022 22:43:24 +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 4Kw5FS09j3z3vj6; Fri, 6 May 2022 22:43:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877004; 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=YaGSjvzoZy/99wgo5LpR58zY4J5CRFtw3UPLnayv+lY=; b=kLi98P8F9f2RFzwjxXNYtiBu1T8TkCQkJ5Dmbx27wPDHKNhijkrXfKXN29mWISA7wfYvQB 4KjDb5h6GnylprcBIPVXwdCtiRhHGN2T5TJ02c2TWz7d4dBp/uOwbpkxCwvyAOuIVlcjXl 7AR42NOT8RWr4g2/1G9z1caIydpJiwhI4+Ri4I4yu4I7nkDHpzTcqU3//1dUDM39olZGpb C36tCsBAH2a5bPiTSpvKAqNdwbC/w7kpNb7GUvvuefT2DZ3BCU+aFMVGlAGVetiA9jjvBh weQXocFWYKrRIuRtqG7ig5+l8U0hZVe7AzLj99gtpbiRIpXitNRW2P9Qf7EUug== 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 0D701247A9; Fri, 6 May 2022 22:43:23 +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 246MhMJG019611; Fri, 6 May 2022 22:43:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhMgT019610; Fri, 6 May 2022 22:43:22 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:22 GMT Message-Id: <202205062243.246MhMgT019610@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: fb9f63e88e1a - main - ida: 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: fb9f63e88e1a9ae0f4936e99e872278cd086eecd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877004; 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=YaGSjvzoZy/99wgo5LpR58zY4J5CRFtw3UPLnayv+lY=; b=tnHev16H52AZjOTp+qxexhqkTtQ71goNLyX7CvrutyVOOpKSiExTiG8uaMtLSbVLwX5jRG HQT+FfLw9+fMj1MxZz14d1GKVIcK6g7iQEutpjoT+DvVKzY15/XuEGXbKv93hcuBHvkzU7 Xgk9cMfbKudjAUodf5ZTnID24jYrJiumcOQ341RxHLjm3wEhk8yk0XcGMmPyeVEM1254Cy qMs+FwUK19/9o3yuEMrDFa5W8v82CWn9ToDpkYly3fRmIja+Ln3vwnJnJgCihMiBKmpYHE Zga/UhE5gr2af0xU7YA6rKUsifmIHki8W+gNfWlALOeZnq1VYCvMhX2maxD8Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877004; a=rsa-sha256; cv=none; b=SsdJPwsWeApOKmUHQhoSN3+kBalT8ujG4T1QReVC0WUYjWsKD/j7u6gBry7wPv3JM0xwx2 MH8uXlxpZCBWG0jtxUjCmtmsYlhmnS6ZM0sfYYiEjCuwX4QESHiUdxW5wCTM1PHo4g9tMz 9/k18G1EM2Nx7fCWuOFDxFJLV3VMKzn6j3zxsP39F3fAWSSsJy38G9+ftPX8JFdHod27g2 nCu9oN7mJyfNWgN5fxmzOYTEj5G5Q9vmmjZ4yDnL5JiP8Gknr3Ftug3Ss6NcIglxCojq2X itOs0NqFYfGTJuhM3zJxxgEr+rNbQFqFm+2/4HOfaKBBiZdtIQgd0V7KEp9vtA== 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=fb9f63e88e1a9ae0f4936e99e872278cd086eecd commit fb9f63e88e1a9ae0f4936e99e872278cd086eecd Author: John Baldwin AuthorDate: 2022-04-19 21:42:44 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:30 +0000 ida: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/ida/ida_disk.c | 4 +--- sys/dev/ida/ida_pci.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 35d70ac896c3..0cd242d45bf2 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -64,8 +64,6 @@ static int idad_detach(device_t dev); static d_strategy_t idad_strategy; static dumper_t idad_dump; -static devclass_t idad_devclass; - static device_method_t idad_methods[] = { DEVMETHOD(device_probe, idad_probe), DEVMETHOD(device_attach, idad_attach), @@ -79,7 +77,7 @@ static driver_t idad_driver = { sizeof(struct idad_softc) }; -DRIVER_MODULE(idad, ida, idad_driver, idad_devclass, 0, 0); +DRIVER_MODULE(idad, ida, idad_driver, 0, 0); /* * Read/write routine for a buffer. Finds the proper unit, range checks diff --git a/sys/dev/ida/ida_pci.c b/sys/dev/ida/ida_pci.c index 083d52ded3f1..0af3b331c0f1 100644 --- a/sys/dev/ida/ida_pci.c +++ b/sys/dev/ida/ida_pci.c @@ -201,8 +201,6 @@ static driver_t ida_pci_driver = { sizeof(struct ida_softc) }; -static devclass_t ida_devclass; - static struct ida_board * ida_pci_match(device_t dev) { @@ -307,6 +305,6 @@ ida_pci_attach(device_t dev) return (0); } -DRIVER_MODULE(ida, pci, ida_pci_driver, ida_devclass, 0, 0); +DRIVER_MODULE(ida, pci, ida_pci_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device;D:#", pci, ida, board_id, nitems(board_id) - 1);