From nobody Fri May 06 22:43:09 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 2E8151AB8B0E; Fri, 6 May 2022 22:43:10 +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 4Kw5F955RRz3vbB; Fri, 6 May 2022 22:43:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876989; 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=kn6srdEoFvYoSnK3t7DG3hYFv5feZmGt2FN6egwClRk=; b=DjEnkl8wy+0uzDikWQ07jXZlHC22MqiI3EJHioI3FXgyeiZCiL7QFHFLlueIfNRksqiHYf wD7UvGJJeZNw1IXsh6JpetzJIyYnWdsKRTJS4r6HtRvsQTp3Nh16/pKAiLZv0+KVIK7HHY 0obNt7/VgaAgK+/keXvZ7cHfPaiaaWr8MB+7FTuRQPsK8hctMrX34WohEN+wrENressMPv 0FdV01b/Nq3LcD4MUxTWoQQWvYcr3aXzO5GkwbxaE6mHrBI4cy+HRWu/qvFqbBF+sBDA/6 vewtk7GIbzKpp3Drxz8Kqpj+p76usgSoCZwUazQ9wissjuqAEFpNQeS4nxCc6g== 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 22EC02463C; Fri, 6 May 2022 22:43:09 +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 246Mh9Om019305; Fri, 6 May 2022 22:43:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mh9ZZ019304; Fri, 6 May 2022 22:43:09 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:09 GMT Message-Id: <202205062243.246Mh9ZZ019304@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: 387290793122 - main - cas: 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: 38729079312270532f223752675950e5527c6017 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876989; 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=kn6srdEoFvYoSnK3t7DG3hYFv5feZmGt2FN6egwClRk=; b=uP4wp53otmSuUitFabe0k/JrpOig8IzqqpYgeWYdTelBBkX+KXG5uHkLmBY1/xtGl2aogm ooPHIz2DBIRS6JVUnk7MlHBB85UzhQgrrDikSw3X0InLF3XcKWydjS8mNy/BMGHsooDg2e uuZNpIt0bwyg1qPuYTWwUVtM/BhQiBRC51GS3Kk1wpmfbGFT5A2rH+zzLj8X3PgYPyup64 hKs3AMg5iqCTpqKjR+pm4xjQEiZDo7qlbfiGcoPSscky3j7cl1K6W5brtCdtwQeqfw2Umj sOisXEJA+dwbbcOFiaOlX6l2ohZI1H6I5K9idkKn196eXXAQPKGVVRt8y1Zb1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876989; a=rsa-sha256; cv=none; b=xWZo69h0g4lB42EuJjde75jjg9DUyXL4JcxeQZ6ldl4Gbqk4qwhGI2t19MA4FuuOI2lqxJ JIS8QUDLegd2WeSeyOgK6AhlC/g//2eoJwMG2D0FRH3jJOIBhawLh9++i0No3OnAinVSSX 1IHJ59abWl0zjQ/dEoqHWfz0yapsYnmWKpvQspfDKKsJQDl7l1B7AAfKDY2jE7CxN7lt7L wxJeHtXAE1xZBUm/wY193IJ5scQBAgaj1dC6QtV6LGHnExvvqYT0SrpM73nMuwFmFBG6jo jLoD/z19IRwa/+EyJX0CrDwYjSARr7F3nOgaf+p3hu2dhCXjEz7D0Y1SW4m03A== 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=38729079312270532f223752675950e5527c6017 commit 38729079312270532f223752675950e5527c6017 Author: John Baldwin AuthorDate: 2022-04-19 21:03:52 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 cas: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cas/if_cas.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cas/if_cas.c b/sys/dev/cas/if_cas.c index fa2a51eb377b..b6792cbe097e 100644 --- a/sys/dev/cas/if_cas.c +++ b/sys/dev/cas/if_cas.c @@ -172,8 +172,6 @@ static void cas_tx_task(void *arg, int pending __unused); static inline void cas_txkick(struct cas_softc *sc); static void cas_watchdog(struct cas_softc *sc); -static devclass_t cas_devclass; - MODULE_DEPEND(cas, ether, 1, 1, 1); MODULE_DEPEND(cas, miibus, 1, 1, 1); @@ -2612,7 +2610,7 @@ static const struct cas_pci_dev { { 0, 0, 0, NULL } }; -DRIVER_MODULE(cas, pci, cas_pci_driver, cas_devclass, 0, 0); +DRIVER_MODULE(cas, pci, cas_pci_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device", pci, cas, cas_pci_devlist, nitems(cas_pci_devlist) - 1); DRIVER_MODULE(miibus, cas, miibus_driver, 0, 0);