Skip to content
Commit 4058937a authored by Julia Lawall's avatar Julia Lawall Committed by Bjorn Helgaas
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
CC: Geliang Tang <geliangtang@163.com>
parent 2ac83ccc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment