From nobody Tue Oct 04 16:39:45 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 4Mhk2B2lrXz4fDNn; Tue, 4 Oct 2022 16:39:46 +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 4Mhk2B2Ckfz4785; Tue, 4 Oct 2022 16:39:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664901586; 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=342ft18PgOmJ2N0eF1YCeDDfuDNMcS2dYgt+ZVOfOTE=; b=AeZXXZ49v5fOtIE+ElcUeeeHV5us/JHYXBhQLZp8i0KU/nAYTi3BeIb91D1gJFQhxd9JVq D8D5yFOZOVjSgtgyRd9PXh54MF8A48dy+FO3tiCBChNvTDbquyhk++Jiy+2hx7lGam/qHd K2fXUaT+vKPFIrCdxZS8H+GVdxf5rO0xLMlSyBN+MbjR3xpEuLbLBxtEilbtilQZqhmBjr 9grPf9V/TJ2gCp/Q8jnBMsG6ON/oatDPsLKWFTXeA6ux6EnLkaSt7nIWySdW8ccp07ls1J wpAydExk0maSNPonEksiRCk3I+ETP/P/l0IjXaM89icTabJ4bhkOzEJglGbJsw== 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 4Mhk2B10rrzd3t; Tue, 4 Oct 2022 16:39:46 +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 294GdjO4062002; Tue, 4 Oct 2022 16:39:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 294GdjkP062001; Tue, 4 Oct 2022 16:39:45 GMT (envelope-from git) Date: Tue, 4 Oct 2022 16:39:45 GMT Message-Id: <202210041639.294GdjkP062001@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 89a9a13c1a91 - main - Remove unneeded FDT checks from phydev and regdev 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 89a9a13c1a917715c047ef9b0d7bd3f6416bb13b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664901586; 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=342ft18PgOmJ2N0eF1YCeDDfuDNMcS2dYgt+ZVOfOTE=; b=yAPV7Nuw/imUG9XXZ232s+17CZKb7ZEzxENY9Vla2SjU3yiuVbkk8EKGBozFrYNoKCuIgE dYrSt6NHy0yf1drkqkFEAfE1EXEACeTNc2b9mNHdv2DcA71KZfv0sGbS2XYDnBev4XTkFO q01PrJ04y0xIP4qGetr37jNzWWs62ETY1pyozYbsCxcyVeKB31DUIgeXfqyxXznRICGNuY CvmDKboLOoevQLDYrghIpQpXDg30hbO7fwqiKxbF56gdIzCCY/ekWFxnIpN+4mx5H6Q7wl MrzXsF82p4y3nQOnk+VS3RtmADUpTTyQdvy4RgYfuB+/uhzo2WQ/KRS/c0GP4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664901586; a=rsa-sha256; cv=none; b=KAh9hv7I05i8YJRtEojdG1yXavoE8EH7avAcvnPWKv6I+EMwSpVgeiA2KyBVh1twu0ic9W mD9oAYkLDW4yAhZHSfz/+r5kMZMfk9l+/eW6OEFUwzRlQTOnVpvpF9eLZxj7Ll06bXiS6J vW07XpyGbS2v2o0eJjGQdl0w/oAX0kSKhWWKTf4JcIVymzJ9FqqUNPcANhPXAIgi3kKltS CqGPkdRiW0333P37HYB/yPe2eo2wPyxvAg4luF2FIXfSKnxx5TrDdVQhpcRL27bPlyYoHa vAvClUykNF0+llGNVLdy1WM8xBKW+58u14gnLcqAYaHjdE0ZyagwvreojRH22w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=89a9a13c1a917715c047ef9b0d7bd3f6416bb13b commit 89a9a13c1a917715c047ef9b0d7bd3f6416bb13b Author: Andrew Turner AuthorDate: 2022-10-04 16:27:59 +0000 Commit: Andrew Turner CommitDate: 2022-10-04 16:37:37 +0000 Remove unneeded FDT checks from phydev and regdev They are only ever built when FDT is enabled so there is no need to check for it in the files. Sponsored by: The FreeBSD Foundation --- sys/dev/extres/phy/phydev_if.m | 5 ----- sys/dev/extres/regulator/regdev_if.m | 6 ------ 2 files changed, 11 deletions(-) diff --git a/sys/dev/extres/phy/phydev_if.m b/sys/dev/extres/phy/phydev_if.m index 44271478f2e2..5d35f84efbf6 100644 --- a/sys/dev/extres/phy/phydev_if.m +++ b/sys/dev/extres/phy/phydev_if.m @@ -26,17 +26,13 @@ # $FreeBSD$ # -#ifdef FDT #include #include -#endif #include INTERFACE phydev; -#ifdef FDT - HEADER { int phydev_default_ofw_map(device_t , phandle_t, int, pcell_t *, intptr_t *); } @@ -53,4 +49,3 @@ METHOD int map { intptr_t *id; } DEFAULT phydev_default_ofw_map; -#endif diff --git a/sys/dev/extres/regulator/regdev_if.m b/sys/dev/extres/regulator/regdev_if.m index eecbf8bef726..426012bc45b6 100644 --- a/sys/dev/extres/regulator/regdev_if.m +++ b/sys/dev/extres/regulator/regdev_if.m @@ -26,17 +26,13 @@ # $FreeBSD$ # -#ifdef FDT #include #include -#endif #include INTERFACE regdev; -#ifdef FDT - HEADER { int regdev_default_ofw_map(device_t , phandle_t, int, pcell_t *, intptr_t *); } @@ -52,5 +48,3 @@ METHOD int map { pcell_t *cells; intptr_t *id; } DEFAULT regdev_default_ofw_map; - -#endif