From nobody Fri May 06 22:42:47 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 D25A11AB736D; Fri, 6 May 2022 22:42:47 +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 4Kw5Dl59m1z3v1v; Fri, 6 May 2022 22:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876967; 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=NtPU3PBlYXz/bPXqovmgHSVVkIPOcCC/BbgBaIfuASY=; b=ftVljKFWuT55Vrb1XF+HWgXO88Np1vP1HG2FJrY2oyThTJ7uNWqoHrA4cM2NL2mduLT7ko Nf8boS/oEdHf0H7eLXtywxT3k4R5E2RW809IGe+JHQ9X3uh967HIeRWWywlCY7sZgI7WJQ fT9kaQFzuILQRYVmCcXOFxpiT9Bvj1IlUhTESBuYLnH+n4jrEpEqnXNfIWLaYyMaFnuEdQ dhoLVoGZ9neVsrOtoi2geMH39gqJhuyIwpYQlzhx1fyprne1m0Q3JfDl4eJAxv8nSU+jq4 dmr+6CU1G6ijr+sUaovJBNTzvoIN6yc8Rd9SBPr/4zugcKvQLHosxZi3HlB9Tg== 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 9156B2499E; Fri, 6 May 2022 22:42:47 +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 246MglUx018831; Fri, 6 May 2022 22:42:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MglGu018830; Fri, 6 May 2022 22:42:47 GMT (envelope-from git) Date: Fri, 6 May 2022 22:42:47 GMT Message-Id: <202205062242.246MglGu018830@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: b69ec7a6bc82 - main - aacraid: 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: b69ec7a6bc82816431f1c071f899b59249abce32 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876967; 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=NtPU3PBlYXz/bPXqovmgHSVVkIPOcCC/BbgBaIfuASY=; b=HzvlJayVf7PfawnGd+02OO74X4Bn5TYY/xmp5ruwVys2EEs2bIbrOEzQ9Q6lYBJVcRC7ok 3aKVkshJ3BtHqnfcFy1gXihirjcWaiQ6C9UmN5d23BnSc2JgcotjgJM/v74MLURT4N+RXr EqExBnwC2Hnk9mv0khdTtHBvcPlboEmI1l4v9szIn7U/Jcrj6WImokmIncoDehCuO4I82o eWdECbGrsSxeezKOGWlUEUuPuxgTtoTjSjHdlHGuknmJtA9/OxQC/VVFHKmGF2UHFgpSZ6 k+8HoBvNB0QfILGF9fsyWJsO6MDougU+jx21evwWlYWcbUN6svuqglJQq+keyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876967; a=rsa-sha256; cv=none; b=TjPXRbe5LPdwLU+PXGuO4xvI5qwgI9VVFBsGu4oJCJ9qJ/QceAIdIqbGwdngpBC3jzgbTW pW9267xnOzTNXKxAGjK2gnj8XyRv/d+D37kAlpRn9oVZTd0kd9pzl/FP47cXrxTL218Vxg 0pfbyAv2Cci+hAKgDdVMiqjkDaBBoKQcs7B0zAQue+mQnJ/LRSfPMKq96/TtjDpZS+jfxl bguQVkjFH60lvmC40WZnVC7oAJL5ARJIjoOcNRDgYQW36B+J2OXXfNQm5gANJ9SHwp3C0P gRLv8wXhOZiTscFSr9uGIvSAwt1oe6W1/fMCu+XNxlZMz/wvNoa8J1MLCtGfmQ== 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=b69ec7a6bc82816431f1c071f899b59249abce32 commit b69ec7a6bc82816431f1c071f899b59249abce32 Author: John Baldwin AuthorDate: 2022-04-19 18:25:45 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:28 +0000 aacraid: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/aacraid/aacraid_cam.c | 4 +--- sys/dev/aacraid/aacraid_pci.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/aacraid/aacraid_cam.c b/sys/dev/aacraid/aacraid_cam.c index a44833863891..de5687f0c25d 100644 --- a/sys/dev/aacraid/aacraid_cam.c +++ b/sys/dev/aacraid/aacraid_cam.c @@ -120,8 +120,6 @@ static u_int32_t aac_cam_reset_bus(struct cam_sim *, union ccb *); static u_int32_t aac_cam_abort_ccb(struct cam_sim *, union ccb *); static u_int32_t aac_cam_term_io(struct cam_sim *, union ccb *); -static devclass_t aacraid_pass_devclass; - static device_method_t aacraid_pass_methods[] = { DEVMETHOD(device_probe, aac_cam_probe), DEVMETHOD(device_attach, aac_cam_attach), @@ -135,7 +133,7 @@ static driver_t aacraid_pass_driver = { sizeof(struct aac_cam) }; -DRIVER_MODULE(aacraidp, aacraid, aacraid_pass_driver, aacraid_pass_devclass, 0, 0); +DRIVER_MODULE(aacraidp, aacraid, aacraid_pass_driver, 0, 0); MODULE_DEPEND(aacraidp, cam, 1, 1, 1); MALLOC_DEFINE(M_AACRAIDCAM, "aacraidcam", "AACRAID CAM info"); diff --git a/sys/dev/aacraid/aacraid_pci.c b/sys/dev/aacraid/aacraid_pci.c index f445a073b6d5..2f86da89f0d6 100644 --- a/sys/dev/aacraid/aacraid_pci.c +++ b/sys/dev/aacraid/aacraid_pci.c @@ -83,8 +83,6 @@ static driver_t aacraid_pci_driver = { sizeof(struct aac_softc) }; -static devclass_t aacraid_devclass; - struct aac_ident { u_int16_t vendor; @@ -104,7 +102,7 @@ struct aac_ident {0, 0, 0, 0, 0, 0, 0} }; -DRIVER_MODULE(aacraid, pci, aacraid_pci_driver, aacraid_devclass, 0, 0); +DRIVER_MODULE(aacraid, pci, aacraid_pci_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, aacraid, aacraid_family_identifiers, nitems(aacraid_family_identifiers) - 1);