PCI: iproc: Remove redundant null pointer checking
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:36:08 +0000 (13:36 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 03:41:07 +0000 (22:41 -0500)
commit6d76833c5223348dc8fddaa31584d923cae2a566
tree626b3d911afc7851aabb72b0896674c06e19484c
parentf66e5b290796aeb6c5e027506175c87978f2722a
PCI: iproc: Remove redundant null pointer checking

The callers never pass a null "pcie" pointer (they check for kzalloc
failure), so we don't need to check here.  The bus driver should never call
the probe function with a null ->dev pointer, so we don't need to check
that either.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-iproc.c