Date: Fri, 9 Aug 2019 10:31:54 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r350820 - stable/12/sys/arm/nvidia Message-ID: <201908091031.x79AVsge085592@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Fri Aug 9 10:31:53 2019 New Revision: 350820 URL: https://svnweb.freebsd.org/changeset/base/350820 Log: MFC r343963: Don't allocate same clock twice.. Modified: stable/12/sys/arm/nvidia/tegra_sdhci.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/arm/nvidia/tegra_sdhci.c ============================================================================== --- stable/12/sys/arm/nvidia/tegra_sdhci.c Fri Aug 9 10:28:20 2019 (r350819) +++ stable/12/sys/arm/nvidia/tegra_sdhci.c Fri Aug 9 10:31:53 2019 (r350820) @@ -313,13 +313,6 @@ tegra_sdhci_attach(device_t dev) rv = clk_get_by_ofw_index(dev, 0, 0, &sc->clk); if (rv != 0) { - - device_printf(dev, "Cannot get clock\n"); - goto fail; - } - - rv = clk_get_by_ofw_index(dev, 0, 0, &sc->clk); - if (rv != 0) { device_printf(dev, "Cannot get clock\n"); goto fail; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908091031.x79AVsge085592>