From nobody Sat Apr 09 00:28:14 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 5C5831AAD357; Sat, 9 Apr 2022 00:28:16 +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 4KZwvL6G8bz3pYW; Sat, 9 Apr 2022 00:28:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464096; 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=tovPhnh0EGbDXgQ3gAN0MSrneaDO91yQ9/7kXKV8tXQ=; b=qGbrpCUkFVb1sK8R8tBJ9C3odx1X1NW1Lb+XQLa9BjXF3rB+0WzFJUsr4vtl7KqKYlKCTs MjfWaHNQBfH+1ZKNp45AJP8iJoLSU9g04Ev9to0TNeujCAsP9lesuAzJ7C3NnqV+CDfD+D /O0zXtgW1b6Fk88ocgE4tx40S9jvfQYk4uWU9IvmUYtub2XVVhPsWkv9HI9nH5JbXZjZ6I tPCHqG/beMoCpmgiqShV1Fcisid2s0WK5fxH4Ro+SCVB1FYHfkRLNbbu9WgZPMaNXVl4cI +PuKVtyveOq1CHn0TBHMyMVRpbZIkOpMX/Cge/XSfZlljSSWiIggTK3tIa6c5A== 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 AB54D7907; Sat, 9 Apr 2022 00:28:14 +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 2390SECh057076; Sat, 9 Apr 2022 00:28:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390SE6Z057075; Sat, 9 Apr 2022 00:28:14 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:28:14 GMT Message-Id: <202204090028.2390SE6Z057075@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: 34df2dfa5135 - main - bcm2835_gpio: Remove unused variable. 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: 34df2dfa5135376f3080c3ab25edb56a3698355e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464096; 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=tovPhnh0EGbDXgQ3gAN0MSrneaDO91yQ9/7kXKV8tXQ=; b=KWz2D3zigkjOuV90R9yG1oXDcV2WywT1EsRz0k9PatYTQV8bc+g06FMlTDJSoRsXknDB8n k2gFqNrLhHXYPDUP5fZMAk+5Wawb7s7UUHNGy+bmQif/fk1hH4ehUx07Kpb85WdxGmkCiC dz8PtAVS7iTLA73KjKO5lNiJvzVDhfjAJ3I7NKELsc7B32zHYVBiPyM1LrCZ2uf+XKMhO9 C3raMO8VjIsbMj5SUrkfAReMdQhkrtjXzcdcFTXgd0S6FXylOMwPQmUhm2a4zcs2XY8ko+ zVCJMKfTbP5cAlTusOkCY6sJz8SjLtIP8bQqA6iypR795JcVXTq7+9oOKT8E3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464096; a=rsa-sha256; cv=none; b=fMzuMFLEWDKv6QPzUuCWcs28b/c3l4HCFxv6GORUcIRSkZYildq3ilNYJwR7gjltdDnx6a bk4oZwwhCn/79iN5lh3CpxgEfetp37aVGGwnl7bH9RppHmIvPQNs//AJ2gijNPnarPQdes Mw5pbpzeV2/pY5aB9NkXQ9tLuXv8ZmsdRLtaZsC3u4NuhaoMSe7dm6qyDB3GMvrKQrA12H 0QipVZM6sy42sIuypgsR0Dk7VsGfqVzZXp/Hf/bLRa1piMnvLxeADpOkutanQTrscmEYpS ulKZolE4wEiP+iZFDMzLk/ZYujL5WDen/yQV459rMEwiVo7I6udVdW8Lkc3tow== 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=34df2dfa5135376f3080c3ab25edb56a3698355e commit 34df2dfa5135376f3080c3ab25edb56a3698355e Author: John Baldwin AuthorDate: 2022-04-09 00:25:15 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:15 +0000 bcm2835_gpio: Remove unused variable. This was a static local (i.e. a global variable) which was probably not intended. --- sys/arm/broadcom/bcm2835/bcm2835_gpio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c index 70b69eb154e8..b07e5cc6c361 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c @@ -1208,9 +1208,7 @@ bcm_gpio_configure_pins(device_t dev, phandle_t cfgxref) uint32_t *pins; uint32_t *pulls; uint32_t function; - static struct bcm_gpio_softc *sc; - sc = device_get_softc(dev); cfgnode = OF_node_from_xref(cfgxref); pins = NULL;