From nobody Tue May 10 17:36:16 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 087EC1ACF9D0; Tue, 10 May 2022 17:36:17 +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 4KyQFD4LJpz4hf7; Tue, 10 May 2022 17:36:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204176; 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=qDACCfD5Uad9SSPEbyc9WQYNHgHa+LfgzZ4BGq8tbMk=; b=HY26KgLSpKq7/Jq0f21u0S/nN2c4qIfTg09iK+kQGo8EcdkScM368wdW1bRDG7XJ9lqfrr 5W1Mc6tdGTj5PsChvKXJLqk9jzrH/q/jZxV8j3njqp9tvWy62Rh9EEpWA3hR7jbJ72Pu03 N/H0SNSi7WoxaXQ4uHcsf+I1mqYUvPLjz+iPkFn4dpsajZxK/4ihppw3XeY1bcXlHUGWgd 3UndNMSS6qoKjFZqVMJ1Zk39qIE9r8fOn8JS3Itr5Sezt+36pzYVW7VAfAQMUg+Uz1BRFM nBqG5y844EHpc8tuMkRdI0+8Y4OovXMLbCzYalNJHQQkAOk6QBg7hSLIDFleoA== 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 63BB71938; Tue, 10 May 2022 17:36:16 +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 24AHaGTK098878; Tue, 10 May 2022 17:36:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaG1c098877; Tue, 10 May 2022 17:36:16 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:16 GMT Message-Id: <202205101736.24AHaG1c098877@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: 76979b6275b2 - main - scc: 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: 76979b6275b25d1ba4b42a66ae1597fd924e52d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204176; 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=qDACCfD5Uad9SSPEbyc9WQYNHgHa+LfgzZ4BGq8tbMk=; b=JMy8K49m9wd04iR1bSAGKk5BtzeKTS4uiC41unzZQfjXEyg3CJYgSQqr/OIfliKYJp8y/N IsSz4L6ekQI2F/Hlr+KjRBiRNEhOVdVfPXYDFHs8Iq67aZGJqzVuHsRXySumf8YFuazG4R PZzaJf0YRgZePF6uuXF+k/HAvZRSd8F8xEBxPRIHxu3v3Z/BfKiNx9JdqGSp78z6Xk5bMo zOFY/umF3FsrEkrME9xY23kIpPq8e0sWALhQWNauftft9M7boyDNtCPBK03zDPS9HdhHk+ GCtR0inHrC0bMcdIcbkKFh4Bc2fMNWVZ2WWf2Dg9TeNIoGpqYy1CsA18CWiOKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204176; a=rsa-sha256; cv=none; b=W2sYQMEBYasSlg0OFGjXGUEssu3Lh+2HjByf/RlV6GBVSJ8a1OGNQOJYVicr24nZkQBPV7 Bbg7WTrV2OkrvYGdvXvw4dw8E17LAUSxnq3A2EJE6g+TO5dlRZhfd25DeKu+ql3MTW3MS0 kUfXebsBS9jdAKhqGgf8PheBKwQqw+1YL0dcEjekUXPxy9EN0SYL21bwu6k9MIdHb4s0jZ XjLHl8OHxGHvJloqkeJ9R2LUgPCGI0ylY3+gIrfb+CkFU918hV3b5ltG3WkfYkrUUO3KKz Lveq2NJyETtP+JljXyLNB0Qod/5UgkPXm1OBOHOD4Qb03QNbRfrcP9LnbOn5vg== 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=76979b6275b25d1ba4b42a66ae1597fd924e52d9 commit 76979b6275b25d1ba4b42a66ae1597fd924e52d9 Author: John Baldwin AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:38 +0000 scc: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/scc/scc_bfe.h | 1 - sys/dev/scc/scc_bfe_macio.c | 2 +- sys/dev/scc/scc_bfe_quicc.c | 2 +- sys/dev/scc/scc_core.c | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/scc/scc_bfe.h b/sys/dev/scc/scc_bfe.h index 1ccd176e5539..507a403bfe50 100644 --- a/sys/dev/scc/scc_bfe.h +++ b/sys/dev/scc/scc_bfe.h @@ -137,7 +137,6 @@ struct scc_softc { uint32_t sc_hwsig; /* Signal state. Used by HW driver. */ }; -extern devclass_t scc_devclass; extern const char scc_driver_name[]; int scc_bfe_attach(device_t dev, u_int ipc); diff --git a/sys/dev/scc/scc_bfe_macio.c b/sys/dev/scc/scc_bfe_macio.c index 241f6c072a2c..70c6936af066 100644 --- a/sys/dev/scc/scc_bfe_macio.c +++ b/sys/dev/scc/scc_bfe_macio.c @@ -93,4 +93,4 @@ static driver_t scc_macio_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, NULL, NULL); +DRIVER_MODULE(scc, macio, scc_macio_driver, NULL, NULL); diff --git a/sys/dev/scc/scc_bfe_quicc.c b/sys/dev/scc/scc_bfe_quicc.c index 6f047b75a4ee..5601c05a7a6d 100644 --- a/sys/dev/scc/scc_bfe_quicc.c +++ b/sys/dev/scc/scc_bfe_quicc.c @@ -98,4 +98,4 @@ static driver_t scc_quicc_driver = { sizeof(struct scc_softc), }; -DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, NULL, NULL); +DRIVER_MODULE(scc, quicc, scc_quicc_driver, NULL, NULL); diff --git a/sys/dev/scc/scc_core.c b/sys/dev/scc/scc_core.c index b5a8fe4fda19..8974d92fe581 100644 --- a/sys/dev/scc/scc_core.c +++ b/sys/dev/scc/scc_core.c @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include "scc_if.h" -devclass_t scc_devclass; const char scc_driver_name[] = "scc"; static MALLOC_DEFINE(M_SCC, "SCC", "SCC driver");