From nobody Mon Feb 21 10:12:08 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 B16B219DF57A; Mon, 21 Feb 2022 10:12:11 +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 4K2J4p4yyjz4ZcZ; Mon, 21 Feb 2022 10:12:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438331; 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=DYkdRcZNDx93KRr2HkCbDmlF5R7EybxJLmKU2WKV8iw=; b=h8bZ3YLhCj2N79daTZt6JvoAF3oNPZYN8zUzMM4txl9cHeA8KLUvIxzV/m2GGkIP1L33UN iejXYcwSLyCuLXNVIUqAaXBx+yxQJw935pfU1phqGHN7mtvuc7mcBXuLswr7BaQVwOQ4mw LmZCwjxbwVjh1hvzhWKDX7Bhl2hsvIMdekEwBCANF9rGnVOJMS/wWPDIhOQT7Gzo5hO6Wn NTe8Im2kErQl3+brkslTVuGnFYTajAyGeIt80/9HE/bM8YATfpMz9NBVhCL4LcF4iFUlFG HRv7jeuaux2yaYGhdwDeFreyENmlO2/LYx/QpE+TWotAJ1LMLGBp1Q5FMqlGbQ== 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 DD82D64A1; Mon, 21 Feb 2022 10:12:08 +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 21LAC8Go010079; Mon, 21 Feb 2022 10:12:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21LAC8gL010078; Mon, 21 Feb 2022 10:12:08 GMT (envelope-from git) Date: Mon, 21 Feb 2022 10:12:08 GMT Message-Id: <202202211012.21LAC8gL010078@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 8604ba742313 - main - arm: allwinner: a10_timer: Plug set but not used variable 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8604ba7423134df2dd285becba3dd980b9d6baed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438331; 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=DYkdRcZNDx93KRr2HkCbDmlF5R7EybxJLmKU2WKV8iw=; b=CQSgf1vbxCY/WhWgeHzEsSKxx2+Kh2DuDr1k66ZBqOxBhLqZVUZAvsPQ3HMx50v09uJB7T fKc+atmqK6bdqK+0Kwt41vX4xC3U26HjeccPYmuG2iRYBBXM7Sn7pPMg9b9c484SHaeFRu JSVcQkJv6sfKMtHH8yP1a3E7P2SFWEv0E6DRramO9TSjiH9AXEubavJAEvIF0cVaKMjiQb vgfqhCsRZ3ZqjL/c7leQeZOJRZ8tpR+7wrQzQjpammj4l3JQGFzxUB5jUZ1N5twSTbCZxS hUrueec2JSG4iYA2SkWuL6+12S/DlViXcvUS+PVMg5Syua/m/HdCm7mrv3jU+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645438331; a=rsa-sha256; cv=none; b=wf9Xot4Xtv8l7X8JiMKMo4IzXugcy8RXMej4FFVmXy3S2GkHnB0AaUyfVLMCndIzmbqUTo Usn/K19TPCLPftITP3yqlBbSc2JwKu3uEnz4rXYS31oIdH61jdQE3y8BuECph5iUbHiR+b 80mzdcoyfzBiVKSkpv6G3yFuuRcocIfloyUaHvUalpaHkpEFhlEIgjgvzUftoLXF4ged+h atm8y9Hs2isRPi1KLUJVcW2bEmQcHCesfefw1fgbAg/VJf7X48MtJDJjuySCUil/CxMi6G P1lGp9ti+Ye1kNGSdJ41gQmwQfpwX1l9asvNhGuxFiyjIBNtbMojkTDNNPSZ4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=8604ba7423134df2dd285becba3dd980b9d6baed commit 8604ba7423134df2dd285becba3dd980b9d6baed Author: Emmanuel Vadot AuthorDate: 2022-02-21 10:02:53 +0000 Commit: Emmanuel Vadot CommitDate: 2022-02-21 10:08:14 +0000 arm: allwinner: a10_timer: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/arm/allwinner/a10_timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/arm/allwinner/a10_timer.c b/sys/arm/allwinner/a10_timer.c index 1812e9bc85ec..239ae10e0c95 100644 --- a/sys/arm/allwinner/a10_timer.c +++ b/sys/arm/allwinner/a10_timer.c @@ -171,13 +171,10 @@ static struct ofw_compat_data compat_data[] = { static int a10_timer_probe(device_t dev) { - struct a10_timer_softc *sc; #if defined(__arm__) u_int soc_family; #endif - sc = device_get_softc(dev); - if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) return (ENXIO);