From nobody Thu Sep 03 16:29:58 2026 X-Original-To: dev-commits-src-branches@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 4hbQ6v17q1z6rVcP for ; Thu, 03 Sep 2026 16:29:59 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hbQ6t1qwgz4Pnl for ; Thu, 03 Sep 2026 16:29:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788452998; 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=akYxquBFMhVirZjcbtoznJ83JhCDQuAMqCWIeMxjh5E=; b=oYI46BOgmoTUrbMNA+DyuJCb/ghZmq6fTESPsuKrG9dnNSm8QJ/KI4xiKGX8AOUrvMtW/y 3Pm5g+xTzXJMD+J/wlF41dCMXDGeEKHcFgYESKfDBFcW/3qhrLx6SnPn67WfkGjyjs5oF8 II8+zd8yCDeuLNrmdFI7/gyhdI0KxCkK6qx6E+COtyXsY+k1G+XuqSXqOfUmj2553k6EZp lFl2p1KVqtu2FmeBehczzzZGu2/AJT8MdIduXDV0l+xLhzMWiucreftESP82HN3wo6JMu5 9qEmL45V3VB4hR6NRZ3aR4bD62y9SLnOe9xGTe3hKNI8vjkI64QT1kCCt1d0EQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788452998; a=rsa-sha256; cv=none; b=pltAbJ+fmhTUQ+LP6BCFGi8Kmq4S26smhUaJUKPZmbPw85e7TTgd9l+gGdUC85+nPtXeti d3K87r6Cnh1g9NgtHiv8WO5JSFjaDI7OxxFzb8/aj12jI9WzZMyx/X77ASd6ZOHk/89LLJ lhHpuJ+6CRlaTDkNTFbP6cwUq00ZShuHEWi6YCULzVQAu62XF8gXCsqIaQ6ZJ/ISQ/uclb Tf+MN6X/t2aTxK2J1t9Bqz2JE9CWwjZbLroiKwhwWkCPAtNz6t+uVDSFxO6I3hZijA695y rOsRUUnPVUDbKfaU5Q82tzczpp1e5MX1uVWxlpMPNJxEvivdhIM1G5M5wMVymg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788452998; 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=akYxquBFMhVirZjcbtoznJ83JhCDQuAMqCWIeMxjh5E=; b=wwgP2MIRjeWwO44VI07Wriadu9cC7e1ur5Kz6yzf/F20CO/EJsqS++dzPbcdmxhHZ1bewT O8+tQXvJbVbJAk444PJMOU42Iclyz7WFFWbTQnjN96mCX/abnSRKN45Kc4OE5r8f7S8o7b xxkHBMTGvUbgFCiKCVQxLsZ9QxVzUanePhnggTJpLMC+seh1eRmdOq0yAREtvWT/b2juh/ uQWCFXIIDIkYdZGOJA9tfhMhzPcV439p1rG9Aq9GM0nmJljDIoQXVWY3okpJp1lNNk7mKW +JjC5IHcdOuieHkIgJ+iziT45ABsOD9N2gw8inAUwv626dUF6VbRFihnYeI1mQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hbQ6t0bVsz5s5 for ; Thu, 03 Sep 2026 16:29:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 388be by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 03 Sep 2026 16:29:58 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 24db9837bee5 - stable/15 - jh7110_gpio: remove unneeded cleanup List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 24db9837bee5ba35f7c84edded150d5a5a1bfa73 Auto-Submitted: auto-generated Date: Thu, 03 Sep 2026 16:29:58 +0000 Message-Id: <6a99a086.388be.4a8357ac@gitrepo.freebsd.org> The branch stable/15 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=24db9837bee5ba35f7c84edded150d5a5a1bfa73 commit 24db9837bee5ba35f7c84edded150d5a5a1bfa73 Author: Mitchell Horne AuthorDate: 2025-08-10 17:16:11 +0000 Commit: Mitchell Horne CommitDate: 2026-09-03 16:29:13 +0000 jh7110_gpio: remove unneeded cleanup Any failure within bus_alloc_resources() will call bus_release_resources(); thus the call is redundant here. MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 2af2ec524957754ff356daea5fa7ee4990c1c3ea) --- sys/riscv/starfive/jh7110_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/riscv/starfive/jh7110_gpio.c b/sys/riscv/starfive/jh7110_gpio.c index 67e64bb29045..fdf40e5c147d 100644 --- a/sys/riscv/starfive/jh7110_gpio.c +++ b/sys/riscv/starfive/jh7110_gpio.c @@ -355,7 +355,6 @@ jh7110_gpio_attach(device_t dev) if (bus_alloc_resources(dev, jh7110_gpio_spec, &sc->res) != 0) { device_printf(dev, "Could not allocate resources\n"); - bus_release_resources(dev, jh7110_gpio_spec, &sc->res); mtx_destroy(&sc->mtx); return (ENXIO); }