From nobody Sat Apr 9 00:28:10 2022 X-Original-To: dev-commits-src-main@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 2AE311AACE5C; Sat, 9 Apr 2022 00:28:12 +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 4KZwvG4ZnLz3pKX; Sat, 9 Apr 2022 00:28:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464092; 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=BeuLyBql26sopsUapbUTd1AnQ4Ytm9Ux7EJNd9ohRx4=; b=onCKU8cyi+yvs5KUQtDHriTwmdibAVNQmybjqalB2N9sraOFDuY/EOyJyVMzGwEosnvvdI 6Cn1gKcWM4WEokC0CNWRIH5P3ASrPhu3n3fc6Lnuf+xhX3PalW27zenXQgZ23Q7RFHb2JF AuXI+zRNDfZn4WWaCp3v3Qv6360Mcc5o/IIujuS2++ec0dYQdG36355gfbnB4JcoA/Z8IP HEl3J/wZRnuT5Om3Bq88cDDAyod71UNNb1u+VbEhCAL/1SjGRKqyHstqR7rCJ5GlXeN9cK 5OiJT/bP1Aw/j1X3uSOTtjbmw2CwTBvxQM/ufQ6ZkX3mXfQoEWohhf/EMwoZ9g== 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 3AEF273DC; Sat, 9 Apr 2022 00:28:10 +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 2390SAJJ056973; Sat, 9 Apr 2022 00:28:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390SA4J056972; Sat, 9 Apr 2022 00:28:10 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:28:10 GMT Message-Id: <202204090028.2390SA4J056972@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: ae4bffd5d2b4 - main - gpio pl061: Remove unused variables. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: ae4bffd5d2b4e04c7f4b85ac5d99ae14c828b2f8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464092; 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=BeuLyBql26sopsUapbUTd1AnQ4Ytm9Ux7EJNd9ohRx4=; b=sCg4M/L2JeTwYHmP89ZwojvSROAXR2+UBXhFd/UpYLeMWxI297UFRZFKdAr2THxfzGuk19 nnFPtE8f4c6c3Z4xBAEnIbl5LIfls+Yolxg51Di6P6vOV7WA8yH3H2qWZY7LgEwADgnCpw jcBjGlxjis03m0YKCFw6iWeLWWZ36sSd3gzX73xcnlmchm+w6U1QlgH5AfvYrdjH65hx5M ZlJphHxrzdHSQ8uqT83CjGhCLsf9NbqbmiSbVe1ozYpA8k07/qa3oAhkZ9P29MQlRw1Jxv nepar81dxHhjZbjlm/6AC0JFWai1ggkuuXRQAch5a4a8h/uO+XgRX0gIzCI53Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464092; a=rsa-sha256; cv=none; b=gtXHK4f2IFyR6mxQCvGe1JGsc6QnLpWj3co+Q9fyv58sRcB8OUIltN0jhLCvsY7yxhUNiv EpzWKz3JndCSBvhIPiYxw+FxFLhanAD56wNhtllNjqGfhoA/Rzgdigi+cD4tqwbJlHmGxt b2UMhNMV9K4eWNCfDIOC+JKAQd2l3+N8IxS0RTAQe3Rt2LWu5BFZO5sMmLc/Zezj3pP5lH uXqjk6HRDl25vUW4bbiKmlZGW2/MjvHbBLr2XIECxQ4/dHUr185mbpQy6X3rKeUqoA07H8 JU/tfHaYgoQ3FLuQKDc+r3iNxjr4zJBl9OKYz6oinXIknLFSf+dmtbgPRKaDKg== 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=ae4bffd5d2b4e04c7f4b85ac5d99ae14c828b2f8 commit ae4bffd5d2b4e04c7f4b85ac5d99ae14c828b2f8 Author: John Baldwin AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:14 +0000 gpio pl061: Remove unused variables. --- sys/dev/gpio/pl061.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/gpio/pl061.c b/sys/dev/gpio/pl061.c index 0a1f3593b3a7..d8fea81c0e40 100644 --- a/sys/dev/gpio/pl061.c +++ b/sys/dev/gpio/pl061.c @@ -103,9 +103,6 @@ pl061_pin_max(device_t dev, int *maxpin) static int pl061_pin_getname(device_t dev, uint32_t pin, char *name) { - struct pl061_softc *sc; - - sc = device_get_softc(dev); if (pin >= PL061_NUM_GPIO) return (EINVAL); @@ -140,9 +137,6 @@ pl061_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags) static int pl061_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) { - struct pl061_softc *sc; - - sc = device_get_softc(dev); if (pin >= PL061_NUM_GPIO) return (EINVAL);