diff options
| author | Uwe Kleine-König <[email protected]> | 2021-10-04 14:59:26 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-10-12 17:37:15 -0500 |
| commit | ae232f0970ea0c1d2b1e95922000afbe58af039f (patch) | |
| tree | 7d5385eda6f590d85e103d86cea762a0d4926bdf /lib/test_fortify/write_overflow-strlcpy.c | |
| parent | 097d9d414433315122f759ee6c2d8a7417a8ff0f (diff) | |
PCI: Drop pci_device_probe() test of !pci_dev->driver
When the device core calls the .probe() callback for a device, the device
is never bound, so pci_dev->driver is always NULL.
Remove the unnecessary test of !pci_dev->driver.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions