From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kim, Milo" Date: Mon, 17 Oct 2016 00:40:48 +0000 Subject: Re: [patch] power: supply: lp8788: remove an unneeded NULL check Message-Id: <58041E10.8020700@ti.com> List-Id: References: <20161014073328.GC15168@mwanda> In-Reply-To: <20161014073328.GC15168@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On 10/14/2016 4:33 PM, Dan Carpenter wrote: > We checked that "pdata->chg_params" is non-NULL earlier in this function > so when we add "i" to it, it's still non-NULL. > > Signed-off-by: Dan Carpenter Acked-by: Milo Kim Thanks for catching this. Best regards, Milo