From nobody Fri May 06 22:43:19 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 E5EA71AB91C2; Fri, 6 May 2022 22:43:20 +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 4Kw5FN1nQrz3vhl; Fri, 6 May 2022 22:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877000; 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=DleceqtCawfalHocjQsyuKA22hceOAFiDeb3bMlnThs=; b=PkD2Hl2shHSyJtzYAYKrR2zmjrqfkGSL+0z/IyRSw0KbXTkFOnssChQNnH1jW33JhyouXp 5RVWLsnGfOZP8L6QhYkXHbUanU2SKABYZIi+d0wH/n5kCH4k4GFpWsgmV0mrSgs/FSSBPK PYgqxeJffVhBm9GoVtpzObpXg8Of9k4du02SX4PnFSD23xxF3ehtLQ5cBH/yA+RsnKUndr c+LDQiZWcKrh9JjWsYszynA3lgf/KKVQfViCey4WrvwgIjsOgT08QBwuv5ypPZ6RPjevDW HwbDiw399YzO7uIdl4e3aeoNXwMnXncvYDSU0GzcSgpggbiFmFoDJw82LmbS+g== 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 9CCC6247A8; Fri, 6 May 2022 22:43:19 +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 246MhJmG019533; Fri, 6 May 2022 22:43:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhJMJ019532; Fri, 6 May 2022 22:43:19 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:19 GMT Message-Id: <202205062243.246MhJMJ019532@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: a11ab694f218 - main - fxp: 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: a11ab694f21880fab6ed58793fd5f227ed0197e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877000; 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=DleceqtCawfalHocjQsyuKA22hceOAFiDeb3bMlnThs=; b=mpTCiai/FkNFT4wD5ONUIkt1ayqQXb9epdJSZdVnmbi1W9hTrxoCFL0upqNXYc4jp9zpyC TWrDtQBbuzkFH657plyjndgaELs7QGEQTZUyrs7XmJs/uiKlagU6jDkIrBJ4Av/UPB7S+f vKC7Gxf/Q0wbP0eHYxPoyUwNyRV4Hs63bNCIcrmbTpJtpXVvDhk4KF1XroT7i1uCuQswJh GvMKT3gba7YEmserIbeAAbjbB/7giiA41ZUnccUO4X3lEjJlIkCFttJCiXcVvMw6gF/fCh kVAixvEkBPm00BiKfEV+ULT1arADL3WeUJkWjAKDhf8w58DKeTZ7d+Ch+kowrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877000; a=rsa-sha256; cv=none; b=u7jc82ti7X740vrXZqLyGekCvueeBF5rLlYB2TdL3fUy9Y22Qwmn8wrCnXSDH+A4AXSbaW qrgHSOzum8Y85iZVL7f8z0zDxFMGf383IzgKiSI5B7wlniFL/ykSOSj/pNypC9wZQbBzFi 8sfS3bWTA3v8PSoR7JO9mWsVowIIqcn5YkbtnsIl90TesdnQkJtTnorEg6JZAq3c6UKq1O RmCUbLi+oP9eW19QAyKUww1qpMzQtZZpQAnAXbXVWJJUgJcPbSAPiDp3D2+DFYmshuvfoo TgViXBekdZG2MDUIoFiGrK89icQINkUcdl2FiAOUx3NtayBCXNmR7rqlZ8T4ZQ== 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=a11ab694f21880fab6ed58793fd5f227ed0197e6 commit a11ab694f21880fab6ed58793fd5f227ed0197e6 Author: John Baldwin AuthorDate: 2022-04-19 21:15:26 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:30 +0000 fxp: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/fxp/if_fxp.c | 5 +---- sys/dev/fxp/inphy.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 53b96fb8b8be..f7d9dc641118 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -303,10 +303,7 @@ static driver_t fxp_driver = { sizeof(struct fxp_softc), }; -static devclass_t fxp_devclass; - -DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, fxp_devclass, NULL, NULL, - SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, NULL, NULL, SI_ORDER_ANY); MODULE_PNP_INFO("U16:vendor;U16:device", pci, fxp, fxp_ident_table, nitems(fxp_ident_table) - 1); DRIVER_MODULE(miibus, fxp, miibus_driver, NULL, NULL); diff --git a/sys/dev/fxp/inphy.c b/sys/dev/fxp/inphy.c index dfa793b03167..0b7a2ffdf8db 100644 --- a/sys/dev/fxp/inphy.c +++ b/sys/dev/fxp/inphy.c @@ -68,15 +68,13 @@ static device_method_t inphy_methods[] = { { 0, 0 } }; -static devclass_t inphy_devclass; - static driver_t inphy_driver = { "inphy", inphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(inphy, miibus, inphy_driver, inphy_devclass, 0, 0); +DRIVER_MODULE(inphy, miibus, inphy_driver, 0, 0); static int inphy_service(struct mii_softc *, struct mii_data *, int); static void inphy_status(struct mii_softc *);