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

Skip to content
Commit fed67814 authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi Committed by Bjorn Helgaas
Browse files

PCI: Remove duplicate check for positive return value from probe() functions



Function __pci_device_probe() tries to be careful about a PCI driver
probe() hook returning a positive value, but this is not really necessary,
since the same fix up is already done in local_pci_probe() (preceded by a
noisy warning), which renders this instance dead code.

Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 60db3a4d
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