From nobody Fri May 06 22:43:12 2022 X-Original-To: dev-commits-src-all@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 C31601AB8DB1; Fri, 6 May 2022 22:43:13 +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 4Kw5FF3Wdjz3vmJ; Fri, 6 May 2022 22:43:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876993; 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=kK+3/A/MLh9pvDkWkiILbAgLXALXtoZ/jV3Uu2AMX+4=; b=eo8QhN7END9XfxKJy+j7caT2VMdGRufZ5BsWS//gNtq4/ww094ZjBUA2HxoGI5ODoIT+L9 OzTzxmtWkEvoRbfBCOqspgT1fQjG2s/LTOCnDx5grnlZsUDuRw2CsS3gHreODRxHNnUNp6 uq70le1gY3xHfx8RJ0AcRHCMKrvLwORYLK6EluVbLPZ9YR9IY6CdUDwd8IdzVhN3CMn5zA akDttmeLuiykzVbPdxdtC/oKTNXwdNB1B6BxT7CvcDjhsRdJX226pf+uFh+u3vpVOFBsWO PYHZyNfIGv7hQhm2GgxNpk+DJgwemQbONXDfItikL8oy6yUMFSXwoi/egW4xqw== 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 9CF7924A22; Fri, 6 May 2022 22:43:12 +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 246MhCTF019383; Fri, 6 May 2022 22:43:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhC0g019382; Fri, 6 May 2022 22:43:12 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:12 GMT Message-Id: <202205062243.246MhC0g019382@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: 64450e3a39cd - main - dc: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 64450e3a39cd9a12c30174d3be41406e8542ff2e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876993; 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=kK+3/A/MLh9pvDkWkiILbAgLXALXtoZ/jV3Uu2AMX+4=; b=aWaurIsKr/ScX5GsZ26Rh7FnN+wOhMyvYxxxJ1ZArK4goFiMSHuVii4Jtei6Dm01WbbvOV r1mPpTgtJrZ7uigixmaXkglwFpCqw74rt2NcJHhvwmr4GnlOL457S8Z/yEPs5O0xwlo+bC QQlaCj8A1lwkp9tDDnAtI5jfe1CR6KPhAJsI1RIdKoQCw/d7qPNiYXL/ZaW8+wsJAJJv9j LdgAuX14TsOeOJTFkHNLYYYn+dYa5dj1O13aT4IL1t46EtOV+Lr75heSD+VoEnuhu8SJC7 vjTvlg8+6k1lRLGVbLJkoezuwi4nmny4WSvzKPe3pHb2MnMNBDv8m3n6xDTH4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876993; a=rsa-sha256; cv=none; b=J2UriwGdZQ8OlqAc79imYvBp7SOgzyfq2YaagmdolJ8Vld7F1FpDu4u4Jc/uljnQfoweGz b7a/gZOzp/llc7TO7UlbE7WEyuq723GTnh71I+1tI46iYZnCKPrs5HbhCFu9Rcum53iNdQ TcKA1szFHae0Nlc3wSpsMQ9X2BZfrCgdxfNN05w7bMbtr4GSeyH94zjK5joEFtDS900Bbr IUfvBhglzt4/X1Gwd33DVJzvbmTtYh2LoeYUi9aAU7L/xsIBeyk7ptIf2GShgyd5XiIubX RyTmcsJJkBzp2ObekRAs95xav7bjkOmJXnbGU0ky7qb5+X5/d+wiEuvm8J5qgw== 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=64450e3a39cd9a12c30174d3be41406e8542ff2e commit 64450e3a39cd9a12c30174d3be41406e8542ff2e Author: John Baldwin AuthorDate: 2022-04-19 21:11:57 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 dc: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/dc/dcphy.c | 4 +--- sys/dev/dc/if_dc.c | 5 +---- sys/dev/dc/pnphy.c | 4 +--- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c index 8b28d462a5b3..6bdbf2f40e97 100644 --- a/sys/dev/dc/dcphy.c +++ b/sys/dev/dc/dcphy.c @@ -101,15 +101,13 @@ static device_method_t dcphy_methods[] = { DEVMETHOD_END }; -static devclass_t dcphy_devclass; - static driver_t dcphy_driver = { "dcphy", dcphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(dcphy, miibus, dcphy_driver, dcphy_devclass, 0, 0); +DRIVER_MODULE(dcphy, miibus, dcphy_driver, 0, 0); static int dcphy_service(struct mii_softc *, struct mii_data *, int); static void dcphy_status(struct mii_softc *); diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index e9949a0e20fa..7bd404a69c20 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -350,10 +350,7 @@ static driver_t dc_driver = { sizeof(struct dc_softc) }; -static devclass_t dc_devclass; - -DRIVER_MODULE_ORDERED(dc, pci, dc_driver, dc_devclass, NULL, NULL, - SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(dc, pci, dc_driver, NULL, NULL, SI_ORDER_ANY); MODULE_PNP_INFO("W32:vendor/device;U8:revision;D:#", pci, dc, dc_devs, nitems(dc_devs) - 1); DRIVER_MODULE(miibus, dc, miibus_driver, NULL, NULL); diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c index f2da30cc6cf0..090b25adbbaa 100644 --- a/sys/dev/dc/pnphy.c +++ b/sys/dev/dc/pnphy.c @@ -80,15 +80,13 @@ static device_method_t pnphy_methods[] = { DEVMETHOD_END }; -static devclass_t pnphy_devclass; - static driver_t pnphy_driver = { "pnphy", pnphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(pnphy, miibus, pnphy_driver, pnphy_devclass, 0, 0); +DRIVER_MODULE(pnphy, miibus, pnphy_driver, 0, 0); static int pnphy_service(struct mii_softc *, struct mii_data *, int); static void pnphy_status(struct mii_softc *);