aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2017-02-06 13:34:14 -0200
committerBjorn Helgaas <[email protected]>2017-02-10 15:09:20 -0600
commitfed678145d02d08d75825d9f0854fad93cffd1a0 (patch)
treef6eff3da1c7d2835abcaaaa165982005475891b3 /lib/netdev-notifier-error-inject.c
parent60db3a4d8cc9073cf56264785197ba75ee1caca4 (diff)
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: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions