From nobody Mon May 16 13:21:27 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 DA12E1AEE07C; Mon, 16 May 2022 13:21:28 +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 4L20JS07Xvz4sMW; Mon, 16 May 2022 13:21:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652707288; 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=b+8JJnpHXuXqnFxl1pvY/9xiurOIRFgpePE1JLgPXmI=; b=E66a9vgX8PCnwgMwNmnz87iWw6xIni2ZXGgl5AipQ0r/8zwBk07Lg+R94RN+97E5pEfU4a bjpfx5EO672f2Ja6GT5VlwiFEyHxpdy61wHKgfDBUMqvAYN174p7sWneLbfK3jNZ2GJJEp hDM7uapZ9SNedSECvgPhEzuxntfvr0m1umke1ve1uaGUTZi/nzwli9Hnz8FTTiv7r+aLAn tBUCawjKT4/q4bQWoRf42302aINOLCEHxS4hSChAggYP7LKn3Dju/gIqa1ITFaYFltoXzv U3dLepWuFA4Mk3CFtCGmst1sKu0mEoBT17uaDuxB/jifMhtaJAHVYrBoqB52kA== 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 BF2F62056E; Mon, 16 May 2022 13:21:27 +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 24GDLRgX043180; Mon, 16 May 2022 13:21:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GDLR2M043179; Mon, 16 May 2022 13:21:27 GMT (envelope-from git) Date: Mon, 16 May 2022 13:21:27 GMT Message-Id: <202205161321.24GDLR2M043179@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 94429bcfc5f7 - stable/13 - arm: allwinner: a10_timer: Plug set but not used 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 94429bcfc5f7b262fcac19b88d96c972c0dab4c4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652707288; 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=b+8JJnpHXuXqnFxl1pvY/9xiurOIRFgpePE1JLgPXmI=; b=p4x4U2niJjM50uuqHzIQB/cp4sWey+mSpZFVvyy+7GsZY5JDFZIWHmzDrXSEr0i75BP+aF cC+FJkgblGGyT9oLKCcDv/HPZWdTFL7ZOJTuO1JOWDou+Rk3QgvMvgxBWh4NHDDos5YeRr eTmjc+9g1qeaZjyGxCv+b+qiQLWcRBCTCOcg7hobuAdqBpZxtypuWQ20uqXoIafQGEg7ws MpR7kif/WAK4LqwlGDl9hL8rexm3DW3J0xJ1jpFojzNEhtOfOsy/ITm43QQ1rPCl3IlxXt Iyh/3ixuz6eAzia/NvOONq1bLvJQQe8B/dBBj9pVolRsJ7rzcVJICiHl59Cvmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652707288; a=rsa-sha256; cv=none; b=DAXdXgcO+AFw+nmJq/EBw+o3F7hnDSzknigzc1rtESjtgWJmGJHR/AyhJYYAY7nDD3Cu1Q +CPLqSsYky5d3lVxNqAKanAYIAEwCxfs9lOUI7WA1iU0qxs6u0R5S3sAXJA0UefWTuYZVv dJOYXmZtaBJs+7Dq9fABTvkLM9UcScn+R9vk/ZYnFW8Zzy+sad53zvZ6THM8pYEU6JDEbw drCTc3sSGqV0YRGibhgsrziK57M2i7po6H1mUnYjk3NXhBjzKDkJYFahTNN4it0lIyasyM xzMh/qTjakgPirn1fNLvCGGsEWhnk3G7RgCnlpnBxMGmrFq8031fYEIuV6w0mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=94429bcfc5f7b262fcac19b88d96c972c0dab4c4 commit 94429bcfc5f7b262fcac19b88d96c972c0dab4c4 Author: Emmanuel Vadot AuthorDate: 2022-02-21 10:02:53 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-16 13:15:44 +0000 arm: allwinner: a10_timer: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG (cherry picked from commit 8604ba7423134df2dd285becba3dd980b9d6baed) --- 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);