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

Skip to content
Commit 1452cd76 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Remove useless "!dev" tests



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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 6b136724
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