From nobody Fri May 06 23:24:59 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 1F7421AD09D3; Fri, 6 May 2022 23:25:02 +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 4Kw69S1XpWz3F3h; Fri, 6 May 2022 23:25:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879500; 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=WxxcVr2SXPW+SSGkXGnFszw2wFRE4noQOwrorsWtxlw=; b=Gua0EGvX3xWu6vV43O2OjcU0ULAXEXUxH11FYpZKlr9y3JJ5PjV5n/RXFvspyT+kmgMfYP zQ7VzUsQ4PGRTw+ulQJYuNh1cGTgfmLpe9ZjQkQd8UDtsQtzVWHf5PqZ8QJkKAMhjFxDsN xPxyaFPLSQ/WSI2JAPILU9pN7oIf10b+PLqV6PUETCW7HXWU2IC3HoDSvc5TJWbQCVM7u/ MEyAAAi1eBS+czgaadPQiGi641c/xAnfd1iAPeHdbfQ9KxMfLzkucXXfPSRm+vc+Qt36Xz dmcoPUHTlfq9duQB1mcOZClJ2wH3aogv6mlAsXRw8FIodB+puAtfuBmsnpP4iA== 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 ECBA9250CD; Fri, 6 May 2022 23:24:59 +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 246NOxk4075287; Fri, 6 May 2022 23:24:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NOxvl075286; Fri, 6 May 2022 23:24:59 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:59 GMT Message-Id: <202205062324.246NOxvl075286@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: 716debed62eb - main - twe/tws: 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: 716debed62eb255a8f6a5cbcc50522c2ea2f342a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879500; 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=WxxcVr2SXPW+SSGkXGnFszw2wFRE4noQOwrorsWtxlw=; b=UjHHTBKLk9d8fZl4NrOVUw+fwzHUWxSpQ5euJvYwT/PgJjgiTLwLo/GsT380b4vEbOzVjb brJbjD7rYA9WmypthLaGhSboutJfT9Zbvpyd/FhnlmW7wMsWA7g1I0ajaGXVHQScGFS0KV TVBHbLh/haBT9aXFO7WdOIwLzTm9zAK4t5n9TBZJt4yfFz40hVPKtDWIHsZrTEqyg9DPHu xhkiUSZsmuQOMG6y5KKJhsIYYscyUO1aGWEAUQ/w2jOeZ6T38yVeCT89VrUOV57PeZUeuw 3hgboMGpfAIUZHHJRPZQzHSgXaedseTJ0BC+OzpA3E2G11SaNTqNxxXg5I2rnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879500; a=rsa-sha256; cv=none; b=bJ843JUXVs+FWRcq76dgHsuJRUCWJy3sv0D9RuXiX6FVBo6sWdfQK3gYEgiJXzSsyafMgU +EUEd4aI/OyCU2vysdzst8MAEky67KsAkq/sR/nVsQYGIS49J0AQsM9q86MlHL0Z9kfUEe 0lpYdDbZewuacpi9V8eKmvHlyTABJwX4tk3zxVF2+IQ34q1LGLEdIMdYqlkQ7GE1kfJaaB AWZidenr/LQYj0ZLCn+3bA7MBhEzMdkSM4d7XD1QJb8B3clNOoF9F8mguI3NeyXFGJefqi 3AMTKNrBilhLGVaw/6dKnFD/XlzTWzmlbj/C/0q6PkHTf1klf/SiEW+2ROXZjg== 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=716debed62eb255a8f6a5cbcc50522c2ea2f342a commit 716debed62eb255a8f6a5cbcc50522c2ea2f342a Author: John Baldwin AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:56 +0000 twe/tws: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/twe/twe_freebsd.c | 7 ++----- sys/dev/tws/tws.c | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/twe/twe_freebsd.c b/sys/dev/twe/twe_freebsd.c index d5425fd2d851..5aae9460bad4 100644 --- a/sys/dev/twe/twe_freebsd.c +++ b/sys/dev/twe/twe_freebsd.c @@ -44,8 +44,6 @@ __FBSDID("$FreeBSD$"); #include -static devclass_t twe_devclass; - #ifdef TWE_DEBUG static u_int32_t twed_bio_in; #define TWED_BIO_IN twed_bio_in++ @@ -154,7 +152,7 @@ static driver_t twe_pci_driver = { sizeof(struct twe_softc) }; -DRIVER_MODULE(twe, pci, twe_pci_driver, twe_devclass, 0, 0); +DRIVER_MODULE(twe, pci, twe_pci_driver, 0, 0); /******************************************************************************** * Match a 3ware Escalade ATA RAID controller. @@ -690,8 +688,7 @@ static driver_t twed_driver = { sizeof(struct twed_softc) }; -static devclass_t twed_devclass; -DRIVER_MODULE(twed, twe, twed_driver, twed_devclass, 0, 0); +DRIVER_MODULE(twed, twe, twed_driver, 0, 0); /* * Disk device control interface. diff --git a/sys/dev/tws/tws.c b/sys/dev/tws/tws.c index de7d20bf900b..74c69d04b7d8 100644 --- a/sys/dev/tws/tws.c +++ b/sys/dev/tws/tws.c @@ -881,10 +881,8 @@ static driver_t tws_driver = { sizeof(struct tws_softc) }; -static devclass_t tws_devclass; - /* DEFINE_CLASS_0(tws, tws_driver, tws_methods, sizeof(struct tws_softc)); */ -DRIVER_MODULE(tws, pci, tws_driver, tws_devclass, 0, 0); +DRIVER_MODULE(tws, pci, tws_driver, 0, 0); MODULE_DEPEND(tws, cam, 1, 1, 1); MODULE_DEPEND(tws, pci, 1, 1, 1);