PCI: ibmphp: Remove unneeded NULL test
authorJulia Lawall <julia.lawall@lip6.fr>
Mon, 11 Jan 2016 14:22:36 +0000 (08:22 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Jan 2016 14:22:36 +0000 (08:22 -0600)
commit4058937a40f73d46502f6042f87bc90f99bc36fe
tree9357b0f0c63387a3345444cfca674b583e605ee3
parent2ac83cccabbc8d264c20ce11931d60e0e6ea3f53
PCI: ibmphp: Remove unneeded NULL test

Remove unneeded NULL test.  The index variable of list_for_each_entry is
never NULL, as it is the structure that contains the list pointer.

Generated by: scripts/coccinelle/iterators/itnull.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Geliang Tang <geliangtang@163.com>
drivers/pci/hotplug/ibmphp_core.c