Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c7c35407 authored by Colin Ian King's avatar Colin Ian King Committed by Borislav Petkov
Browse files

EDAC, sb_edac: Remove NULL pointer check on array pci_tad



pvt->pci_tad is a NUM_CHANNELS array of struct pci_dev pointers and
hence cannot be NULL, so the NULL pointer check on pci_tad is redundant.
Remove it.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarTony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20160908083801.14766-1-colin.king@canonical.com


Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 37209572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment