PCI: Remove useless "!dev" tests
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 10 Nov 2012 03:35:01 +0000 (20:35 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 10 Nov 2012 04:40:09 +0000 (21:40 -0700)
No need to check "!dev" when the caller should always supply a valid
pointer.  If the caller *doesn't* supply a valid pointer, it probably
won't check for a failure return either.  This way we'll oops and get a
backtrace.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found