From nobody Wed Apr 13 23:09:57 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 44E611B4187E; Wed, 13 Apr 2022 23:09: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kdywk0K8Yz4mBS; Wed, 13 Apr 2022 23:09:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891398; 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=gFhjkkmnWKQRdrEQrtcmN9UuCeETbGlAfRc8xr/xFdM=; b=U/vZBuXGfhMvNwpdkrnaOQM++gfu5XdiyVma3mtTPW2TsjcUTCpVJnINgFby+OfUWc9uaC hw+9GR7mJigAE3eAwTE5d2TAuhnMKs7tWP8FAe/BvtjQPIhx5ZmxQVy71kkXeLpx+hUUtt +mklsnRaVw5V20rdjO4XVrdOReZ/3ir8+bJ/n0koM7Jw/6FOSG4+sMjHxqjSeBSKGqwHFK oGFkHx442JT2HvAvH6fQAIgy+A6zYEBm3YMayjf/hVLL1R4lNwQ0CIfsPg7QcUMTXbG9ys 5RIYRWBG97odl6YVp9B8/4hqZ1zWVECyY5DX743+Gxut0jmnf1dmbS2jFyhMVA== 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 C96D715267; Wed, 13 Apr 2022 23:09:57 +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 23DN9vxo075069; Wed, 13 Apr 2022 23:09:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9vbd075068; Wed, 13 Apr 2022 23:09:57 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:57 GMT Message-Id: <202204132309.23DN9vbd075068@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: 9ad5422f2743 - main - arm sp804: 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: 9ad5422f2743a47ca724c2a7261734e6664c8b07 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891398; 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=gFhjkkmnWKQRdrEQrtcmN9UuCeETbGlAfRc8xr/xFdM=; b=qfzUXZsuCDZ5NSjOOiD4h/+Hkjlg411WvCLHFe8LNXQDXUJ909LHNfQ1NgNuAXnrlcFj1u 6Wa5NO0OdgRc1Lxk4+djSVy9R17KkE6ZqtS2wVkkoasS8+SYKoDcMy1RPduH3+YQWpHr15 D8FjOho6w9XLYO2SUfInPCEs37cw63e+JXFGGYCDBb9fbLtH/w/J8DxWu3MrXMFXxuPDxG bLwHFhcSgsgYhS83TlbOWhkh1oW3AKhXS9VwMEQDuQTpH7eIdeL0o0hKbtdjpzi8+r4e67 5EnFrGbARhJXPGBHMdZVXy541PFGucpHEDMGI9CE3a3+9kqH6VM/nFcE6ME7bA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891398; a=rsa-sha256; cv=none; b=ICigbUU/3VQhLSdoJU/0vO60msZTRL+jlcPoidFoAjsaApaKb8xv8QadNuBEy3OXJ6MY0U dFTZyMLxIC4gocINrpFulv7IEgcoSJnk1PT6eJH26tN5xYQHUerlGJw4twT/bUamlbCZSg 12woioUIhOJAPtmCBgL75ZvFGs4zOFo3APlUNjJ4tSuZXMB+iUS8Y4JRgeLEzpxdR3cTMf Gedq0TZfE2gCsDVT9s/UyLlA0nBkYvT2bW36WqACa7oabNmzrmvBzTQDZ+4oAwdxeQxLIb XVrmiXA2qc3KykM4BIy3lLVxsb0gwBic5KrNBNxlMD4mvrLbr5MrQrtRWnR0zA== 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=9ad5422f2743a47ca724c2a7261734e6664c8b07 commit 9ad5422f2743a47ca724c2a7261734e6664c8b07 Author: John Baldwin AuthorDate: 2022-04-13 23:08:22 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:22 +0000 arm sp804: Remove unused variables. --- sys/arm/arm/sp804.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arm/arm/sp804.c b/sys/arm/arm/sp804.c index e45541b0abe5..b0f08923c803 100644 --- a/sys/arm/arm/sp804.c +++ b/sys/arm/arm/sp804.c @@ -167,12 +167,9 @@ static int sp804_timer_intr(void *arg) { struct sp804_timer_softc *sc = arg; - static uint32_t prev = 0; - uint32_t x = 0; - x = sp804_timer_tc_read_4(SP804_TIMER1_VALUE); + (void)sp804_timer_tc_read_4(SP804_TIMER1_VALUE); - prev =x ; sp804_timer_tc_write_4(SP804_TIMER2_INTCLR, 1); if (sc->et_enabled) { if (sc->et.et_active) {