[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171114015659.GB11955@codeaurora.org>
Date: Mon, 13 Nov 2017 17:56:59 -0800
From: Stephen Boyd <sboyd@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: Michael Turquette <mturquette@...libre.com>,
linux-clk@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: cdce925: remove redundant check for non-null
parent_name
On 09/05, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The check for a non-null parent_name is always true as there is an
> earlier check for a null parent_name that returns -ENODEV. Remove this
> redundant check and always set init.num_parents to 1.
>
> Detected by CoverityScan CID#1309477 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists