Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp222787pxb; Wed, 4 Nov 2020 20:36:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQBa+k8NqsTtlr4gEuhf2LpRZsmQa3sfY9Wy17ZVJAe9gEqHqeMYAaovYFDFNwXqwkOoHN X-Received: by 2002:a17:906:868b:: with SMTP id g11mr510159ejx.263.1604550969552; Wed, 04 Nov 2020 20:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604550969; cv=none; d=google.com; s=arc-20160816; b=apJ32n5j/nlibo54Pa/QJfqZwgA+as3H6sH1x/nsEouspWrpcHrXFFskPWIx7DwhlA k4JD5geOUMptx0eOF4iQRP4rnk5LmdK/BPukxSd7W7WIuvj2YEvgnt/QX4S2p4Jskz1x V2fh9z13yagymaPpdcLVuk1Oscu8XiE0oyw3fi2UQEA1m/9BZCiFyHkvv7RUiV943b1c NpF2ytdxbnDciygR0k70rQO7mZHxKkRnYvfRKDvjsuX/sKFpt4VwYH73EbEaRmU6o0n3 XC3+qz0ybEwW92jr6KmZ7y7siUM5m5OqzX4jxmBKUoBRgo7a6jg0IUqyzOAUbBB31uOn P9MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=NTATuFLHYj2P99gRlZRu8waWXMa4l9/N7AKPJHUN6t0=; b=nc1kKPTv+739Qli5FsX6Rync59NdonFUvu887NdgjyJFzp8eCcq6aEUT/8VFpTxsgu mhFAP/QNSXFxRSqZ9w/GnvxccqlTlcEaC765d3Uj4zecoyDRCFGXK6Fq3+FyY7JJz1Zq LgJcsqJs627bZq718C6PW7wjmkwVlsPgsyeOKdgWw06RISlPuhecD2dykqkWTjtYeYw0 JlmINV1e89+mfGpxEIaOLNVt/NjaaRUyM2TZgRwcarqJXgheaRDlvqXig1AXIEMRbtKS YA4+hz6G1Nkr4B6ehUOMz1yah7s4vBvVHVuKlmY22B4MDXZ6s8J5h8vqQ3zKWNLZlk7v p15w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kf6U5uO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si347592eje.742.2020.11.04.20.35.47; Wed, 04 Nov 2020 20:36:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kf6U5uO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730141AbgKEBcg (ORCPT + 99 others); Wed, 4 Nov 2020 20:32:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:59852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgKEBcg (ORCPT ); Wed, 4 Nov 2020 20:32:36 -0500 Received: from kernel.org (unknown [104.132.1.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8EBA120825; Thu, 5 Nov 2020 01:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604539955; bh=NTATuFLHYj2P99gRlZRu8waWXMa4l9/N7AKPJHUN6t0=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=kf6U5uO4VtsCz4uzsQhedbDVzC78Uy/myzXWU2GY4ZzTA2Wd3OaFLYMBUaLlt3R8l WCZ47Xi7UL+f6z7vJ8z3SJWqde1tVwkbQGZDL27EH8V+Ob/XQyDEn6oVqkCY96QsPu 9Bd4oWwpzVKw4/Obhw9M1foo27xIkhGQVUaUDgjs= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1604403134-32814-1-git-send-email-zou_wei@huawei.com> References: <1604403134-32814-1-git-send-email-zou_wei@huawei.com> Subject: Re: [PATCH -next] clk: imx: gate2: Remove unused variable ret From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Zou Wei To: Zou Wei , festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, mturquette@baylibre.com, s.hauer@pengutronix.de, shawnguo@kernel.org Date: Wed, 04 Nov 2020 17:32:33 -0800 Message-ID: <160453995399.3965362.14567000960515993717@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Zou Wei (2020-11-03 03:32:14) > This patch fixes below warning reported by coccicheck: >=20 > ./clk-gate2.c:57:5-8: Unneeded variable: "ret". Return "0" on line 68 >=20 > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- Reviewed-by: Stephen Boyd