[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170104212112.dws54sse2xnjgtfv@earth>
Date: Wed, 4 Jan 2017 22:21:12 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power_supply: wm97xx_battery: remove redundant 2nd null
check on pdata
Hi Colin,
On Thu, Dec 29, 2016 at 03:23:12PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> pdata is being null checked twice, the 2nd check is redundant code
> and can be removed.
>
> Fixes CoverityScan CID 1392340 "Logically dead code"
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks for your patch. I have queued it into power-supply's
for-next branch:
https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/log/?h=for-next
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists