From nobody Tue May 10 17:36:33 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 068121AD0D73; Tue, 10 May 2022 17:36:34 +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 4KyQFY6Fddz4hm4; Tue, 10 May 2022 17:36:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204194; 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=YQ9Jepfz/AR7udWwzkirzyTVTb5YKigUt/dr8pBi59A=; b=lGAkC6nyHvZGX9R/s1OhHdQ1ePbGbAb7nam7Ufk6H7TUKbX+m9QpEbGm/oCB1MK1lodpcu xYxH93qZIfkMHpGdg2MieGo+niUBmUNSt6MbBxgZ+2BFHYVw2TjovX5yYMKTn3Gzn6WsNs 3nkcfgVdvNK47MzzbpmQMNPou5oKU6H/xNtQFNPSY64OHiG3+J4ya/TKgXCPM3GXBmUKFT A9cptU3xe6AYkXt2tgHvSjKdovgQfMpF6NvvQmwJZG65UJfm/Llewe4FP6YRWPH+3pc+4+ yMG3OePX1sRQkyUDVmC+27u/G1z4Di+wXGB9MqQVCd6ERsPzpmybZf1BVVkiEg== 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 993FC193B; Tue, 10 May 2022 17:36:33 +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 24AHaX2I099256; Tue, 10 May 2022 17:36:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaXU7099255; Tue, 10 May 2022 17:36:33 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:33 GMT Message-Id: <202205101736.24AHaXU7099255@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: 2d51cd131372 - main - Remove unused cfi_diskclass. 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: 2d51cd13137240c5e12b709a94dcf9c40a161d4d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204193; 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=YQ9Jepfz/AR7udWwzkirzyTVTb5YKigUt/dr8pBi59A=; b=YkZEJOyChI2vvgwZK7MQaA6BDssu+gjrSce1HKmQHWbsWNEvvZc/ljUDfP1rTAJExqDiUH fT9ykP2u7lHVzELL1CZRPV36yEgBBqq2ICp6Hr/e8POSySul9k+iVxNeKJGK+lsk8xLxmN 0NdY0gWUnU8M9dyNeplSr877ppyBnK9F2F1JduRl5C8bq+lx440h8fJdGe4KFSAJ4ZCVeQ uSnYLTL3jIDQ0xAFzX6cTAmtz19nC6kkpT9mO0koE1bhHJcMg67DGTgwluEVrnhpzwaMXu AzWZbGMuKKhblLD2Tj9WGafvpSSqApT/FGqVbpsq5SXfNTva9AVXyuRoUMUS/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204193; a=rsa-sha256; cv=none; b=Ipf24WFofSuzJ0oSF48RB/z58Bs/6K/ZLQzdxg1/nmO9tt2z3k7UHWGOwJxRrvuaFQiA3z CbRHX4erA62cqtvoTNaxisEoSsag4e9wMY9ipxnILTbpcsjZFJtBd20KVgD4VRckv7lMeC 8br+yezq4hHeL0AAR0XjUpsbs3Dhis9M6WY6vL/QqE4dD/aqLCxCKs8cdxpwNIOCs9aNbf I7qV9HSvunuA2m8/S8D2yzbI30o1BYABNXEo8vEM9f8t69eOxjr/DPonBV4hAZAHLmiIBE UnDUtmPyXObB6M/fKkwZ3bYt9nkYXJV+atycyE25BqtEnAJMsN7v1TkoLhLcWQ== 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=2d51cd13137240c5e12b709a94dcf9c40a161d4d commit 2d51cd13137240c5e12b709a94dcf9c40a161d4d Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 Remove unused cfi_diskclass. --- sys/dev/cfi/cfi_core.c | 1 - sys/dev/cfi/cfi_disk.c | 2 +- sys/dev/cfi/cfi_var.h | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cfi/cfi_core.c b/sys/dev/cfi/cfi_core.c index 929397617524..018d35af5250 100644 --- a/sys/dev/cfi/cfi_core.c +++ b/sys/dev/cfi/cfi_core.c @@ -62,7 +62,6 @@ static void cfi_add_sysctls(struct cfi_softc *); extern struct cdevsw cfi_cdevsw; char cfi_driver_name[] = "cfi"; -devclass_t cfi_diskclass; uint32_t cfi_read_raw(struct cfi_softc *sc, u_int ofs) diff --git a/sys/dev/cfi/cfi_disk.c b/sys/dev/cfi/cfi_disk.c index 5e55f79532dd..a79643b7c7da 100644 --- a/sys/dev/cfi/cfi_disk.c +++ b/sys/dev/cfi/cfi_disk.c @@ -356,4 +356,4 @@ static driver_t cfi_disk_driver = { cfi_disk_methods, sizeof(struct cfi_disk_softc), }; -DRIVER_MODULE(cfid, cfi, cfi_disk_driver, cfi_diskclass, 0, NULL); +DRIVER_MODULE(cfid, cfi, cfi_disk_driver, NULL, NULL); diff --git a/sys/dev/cfi/cfi_var.h b/sys/dev/cfi/cfi_var.h index a5e9f57edd36..336ec6e28ead 100644 --- a/sys/dev/cfi/cfi_var.h +++ b/sys/dev/cfi/cfi_var.h @@ -86,7 +86,6 @@ struct cfi_softc { }; extern char cfi_driver_name[]; -extern devclass_t cfi_diskclass; int cfi_probe(device_t); int cfi_attach(device_t);