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


Groups > linux.kernel > #1481821

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

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH] EDAC: sb_edac: remove null pointer check on array pci_tad
Date 2016-09-12 20:40 +0200
Message-ID <sgEj8-72M-43@gated-at.bofh.it> (permalink)
References <sf3bX-3vN-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 08, 2016 at 09:38:01AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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@canonical.com>
> ---
>  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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] EDAC: sb_edac: remove null pointer check on array pci_tad Borislav Petkov <bp@alien8.de> - 2016-09-12 20:40 +0200

csiph-web