Thread (2 messages) 2 messages, 2 authors, 2017-01-04

Re: [PATCH] power_supply: wm97xx_battery: remove redundant 2nd null check on pdata

From: Sebastian Reichel <sre@kernel.org>
Date: 2017-01-04 21:22:29
Also in: lkml

Hi Colin,

On Thu, Dec 29, 2016 at 03:23:12PM +0000, Colin King wrote:
From: Colin Ian King <redacted>

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 <redacted>
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help