From nobody Fri May 6 23:24:37 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 BB8151ACFE26; Fri, 6 May 2022 23:24:37 +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 4Kw6913TTfz3Dpv; Fri, 6 May 2022 23:24:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879477; 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=5+nDFTnJL/F9I7EFgKlKc8hmYTfvSfFlorBr3K41AIE=; b=iZbR+MHtyV9+bc3R0xc5psSPvxwxw560JybIYqgpUQPtCr22Z0mSzR7A5CTVnYCp4PXK9x 0PuCiiWMcMPw5urxH5K3NbyHsN/gs6JXb0RybmKAVHeSm6Y4I9pgk5FPWu0j8OZgo8gq+7 p5rfprv39aWwr8jIwVcHrBAhwwuGiKgkJtmBY9rMA9BPwb5xPvcEy6f81/G2jvno2SopvJ KMmy/digL/j3+/uVpfvr4PHTskIoTo3OSA4avgosK6otud99jP1RIbimbovAgEVz4ydBCe 987Ryw6Nakgx+C6n6vlugmWGQvp8Cn0EpJg5Eyc+lORqBR5WsjZocqQQDIUYxQ== 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 46970253A8; Fri, 6 May 2022 23:24:37 +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 246NObvs074783; Fri, 6 May 2022 23:24:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NObEF074782; Fri, 6 May 2022 23:24:37 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:37 GMT Message-Id: <202205062324.246NObEF074782@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: 6ab0dfe50ce3 - main - pccbb: 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: 6ab0dfe50ce38f5699184056e69d58d26527a23c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879477; 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=5+nDFTnJL/F9I7EFgKlKc8hmYTfvSfFlorBr3K41AIE=; b=CswsHaA8NswlKxEks9pS5YL5q6pGAtBCPJh/ja7/OQrH0Cmq2+n91CKYjcoOAOVVuLs/wv UT+aWGilN3XuprIVG+OO5p0hA9zasuPd3DVakBS97gYBbIxEPEJpl0etg/VszIKUYVzgbX rg/iBCjDKYMIF//CN0acWVqTjJtU+t88gV5DMwmiWs4ox9byZnR04AL1KCf2zx1Xq7Sazi L/+7mC0WQKXU0yTGE3NNqZ/ee1uaUMjM8KuFKGlARcV8ekvy0ScdV8qDAzpdEFdb8udP5k d+N8hcA8ngDqi+mozDzyVqXiBBKMARH8l4+Yp8TnUzMTJmllgEbqPQxUmzgGxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879477; a=rsa-sha256; cv=none; b=fTYqMuCLShNHMP12TPz9TspbsPe/BoYxCphNoT8816G9CdduiB/r1M6Ffou0N9Q05F0nyn URiufxDaXVESaJbtnQPw5IAgut2xmIKKDGRvdIWkyZ18TqsBmwzIvyCaSuiCINAEBrBwAk lb+r4yuKtiMnEO8c7CIig19C6/BdLSH5g/Zq23ixhozq72b6c6I8cgtS41J/GLUPe6xXOY rvir7yxHF0rxgKce5gbnnT8lLcaA01auTOVi9o4fW7DM7psNTDktS3M2oDvH9r2cBJtpOx X6Sy0438hEMp3oP91CX3UyV8n/lEk7o/7UTrbB3y1QmRCXi9N8WtqWmj7JElFQ== 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=6ab0dfe50ce38f5699184056e69d58d26527a23c commit 6ab0dfe50ce38f5699184056e69d58d26527a23c Author: John Baldwin AuthorDate: 2022-05-06 22:46:55 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:55 +0000 pccbb: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/pccbb/pccbb.c | 2 -- sys/dev/pccbb/pccbb_pci.c | 2 +- sys/dev/pccbb/pccbbvar.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index cc733d6b798f..c1d04c8a3da2 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -124,8 +124,6 @@ __FBSDID("$FreeBSD$"); #define CBB_START_32_IO 0x1000 #define CBB_START_16_IO 0x100 -devclass_t cbb_devclass; - /* sysctl vars */ static SYSCTL_NODE(_hw, OID_AUTO, cbb, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "CBB parameters"); diff --git a/sys/dev/pccbb/pccbb_pci.c b/sys/dev/pccbb/pccbb_pci.c index 6de68f2759f6..22196d39247f 100644 --- a/sys/dev/pccbb/pccbb_pci.c +++ b/sys/dev/pccbb/pccbb_pci.c @@ -974,7 +974,7 @@ static driver_t cbb_driver = { sizeof(struct cbb_softc) }; -DRIVER_MODULE(cbb, pci, cbb_driver, cbb_devclass, 0, 0); +DRIVER_MODULE(cbb, pci, cbb_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device;D:#", pci, cbb, yc_chipsets, nitems(yc_chipsets) - 1); MODULE_DEPEND(cbb, exca, 1, 1, 1); diff --git a/sys/dev/pccbb/pccbbvar.h b/sys/dev/pccbb/pccbbvar.h index c900199c2508..541579c16703 100644 --- a/sys/dev/pccbb/pccbbvar.h +++ b/sys/dev/pccbb/pccbbvar.h @@ -108,7 +108,6 @@ struct cbb_softc { #define CARD_OFF (CARD_VCC(0)) extern int cbb_debug; -extern devclass_t cbb_devclass; int cbb_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r);