From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36C3FC4742C for ; Sun, 1 Nov 2020 09:27:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB50820731 for ; Sun, 1 Nov 2020 09:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604222835; bh=S148xYiDLkpqMjXcFmkJzuuhVelRZwJmOjteNJYXqKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=JphLCe77fynPrYX3aNTFfW0jxN1KrtMpPqUsLz+mNEvIry9nx7MDdoyFn+vlsz2Dx hFuzx12/xfRf9uzzEJnwmt0Yofp+7508E7GrOVZ/J1ca7FnjuB+hNOJigNxENFWPOH GwmwWex4dMQx8nuaDL2VIcQDzvn0bYshxMc2NQ6s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbgKAJ1O (ORCPT ); Sun, 1 Nov 2020 04:27:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:59290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbgKAJ1N (ORCPT ); Sun, 1 Nov 2020 04:27:13 -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 37EFE20706; Sun, 1 Nov 2020 09:27:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604222833; bh=S148xYiDLkpqMjXcFmkJzuuhVelRZwJmOjteNJYXqKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yOXZdPNQ8nzjrOJ1gSC+drld20Na0eN9i3SfWXg2wthRPYUH0p6oEG7DzIJ5w9xJk H/NtfnU45L2bcZ6y6NKRFQn6nL3hB/MuIpsHuTcg+lEOgky2liAVvwm15BgDmemjQz LKHyvDNB1r4VZU7xfZ90J/y1GdyAX9hGKzirxfsQ= Date: Sun, 1 Nov 2020 17:27:06 +0800 From: Shawn Guo To: Colin King Cc: Michael Turquette , Stephen Boyd , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: imx: remove redundant assignment to pointer np Message-ID: <20201101092705.GO31601@dragon> References: <20201029224007.390762-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029224007.390762-1-colin.king@canonical.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 10:40:07PM +0000, Colin King wrote: > From: Colin Ian King > > Pointer np is being initialized with a value that is never read > and it is being updated with a value later on. The initialization > is redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Applied, thanks.