Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3637355pxb; Mon, 9 Nov 2020 17:11:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4WE8x7RRx0lKmPD/BtM+0TDIpuwk6eGWqXKDrf6r2227/hnFbPtDuCtoX+F+fA+GZDhEm X-Received: by 2002:a05:6402:185:: with SMTP id r5mr18654178edv.263.1604970670935; Mon, 09 Nov 2020 17:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604970670; cv=none; d=google.com; s=arc-20160816; b=oLmOkkAT9kl4ec5MLuKM44OrICrmWFl9solwyLwjiRGFPi6DmFkVInrMkTTjJ6IrhD YbXlXN1nCHWxO7tB2mTlK4BpXn151F0zJD/qCweiTPhXqj7JaInYjiv9fzmEkD1dbsLa PCfLZAcCQ7uVOAVzps+tyAX+v1kAOWFPprKqXqYZEf+h6DFcLiPRvbH8Qpv92hlv/ZiJ VRvoW3x4MbvLZsrOuCvALObA8J3z39br3qKFq5+p3dHT1j3cN29NQqGx2jeRzfw1CQJE 3/xDxSnu62HnFySku1Xd+1zZHqIer6HH0/KOzDeiukSioP6w31Tr2Xut6JFd0X6nFvBc 7fvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cs438QvPTNMoMG221jL81o1LYSstJxQtvU/ab1Wylxc=; b=e1Oe7PEynf5dQXzp8D6QpAJ2sURdGXs+Hwced2+756MqxrlJwyJIXjdgM1YxCCuUp6 SUMDhWF6OYoW/oscf9cPW9qDHn47VAEsjn8SCwbjFY04crPMOhfZeZzPE2xdALAm6cUc ArYIJ4tCwQzUN5NxQgeNBeflZLJnCQW0m40kwipDJrfZRUIXmgeTWpcfo71FDH1wC7qK 1EP6RioU36qWFW31UyoaujyWAvl6CHUdR986sNTfZVb5TAVOtLepGKeo4kiZjWOGqa5p MwnY3WU0vckBxYKF87lVjrsODQjaiYzwb/HykCe966AY8ZEUNuqUYmUqawHMw+b31Sac JeAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kr1Hk4nL; 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 c24si7984757ejb.119.2020.11.09.17.10.48; Mon, 09 Nov 2020 17:11:10 -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=Kr1Hk4nL; 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 S1730581AbgKJBJK (ORCPT + 99 others); Mon, 9 Nov 2020 20:09:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:56352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727311AbgKJBJJ (ORCPT ); Mon, 9 Nov 2020 20:09:09 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (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 555AB206D8; Tue, 10 Nov 2020 01:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604970549; bh=RIo3fK/MWXPbHbSM2PvGQBX/Qvsn97JKCRNg1IK3moM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kr1Hk4nL6ktQZD+5eWScYo7YAKxEfo0Y3vFP6SQcY9stktmEXnPfxXZXRtz1Rz8u9 vD/wJPugKBcypmOd1B6d5c9m6aP8eZtACorFBUlHBACJryfiqfx8x3ViDH+ZeB8mWm OozaJqiV5yjqeD91zH5axzZPJ4Ad4d2McWlont1c= Date: Tue, 10 Nov 2020 09:09:03 +0800 From: Shawn Guo To: Zou Wei Cc: mturquette@baylibre.com, sboyd@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] clk: imx: gate2: Remove unused variable ret Message-ID: <20201110010902.GL31601@dragon> References: <1604403134-32814-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1604403134-32814-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 07:32:14PM +0800, Zou Wei wrote: > This patch fixes below warning reported by coccicheck: > > ./clk-gate2.c:57:5-8: Unneeded variable: "ret". Return "0" on line 68 > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei Applied, thanks.