Re: [PATCH] EDAC: sb_edac: remove null pointer check on array pci_tad

From: Borislav Petkov
Date: Mon Sep 12 2016 - 14:32:31 EST


On Thu, Sep 08, 2016 at 09:38:01AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> pvt->pci_tad is a NUM_CHANNELS array of struct pci_dev pointers and
> hence cannot be null, so the pull pointer check on pci_tad is
> redundant. Remove it.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/edac/sb_edac.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.