Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551400 > unrolled thread

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

Started bySebastian Reichel <sre@kernel.org>
First post2017-01-04 22:30 +0100
Last post2017-01-04 22:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] power_supply: wm97xx_battery: remove redundant 2nd null  check on pdata Sebastian Reichel <sre@kernel.org> - 2017-01-04 22:30 +0100

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

FromSebastian Reichel <sre@kernel.org>
Date2017-01-04 22:30 +0100
SubjectRe: [PATCH] power_supply: wm97xx_battery: remove redundant 2nd null check on pdata
Message-ID<sW1ia-1Pn-27@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Colin,

On Thu, Dec 29, 2016 at 03:23:12PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.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@canonical.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web