diff options
| author | Uwe Kleine-König <[email protected]> | 2021-10-04 14:59:25 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-10-12 17:37:15 -0500 |
| commit | 097d9d414433315122f759ee6c2d8a7417a8ff0f (patch) | |
| tree | 2ad4f41d91ef55b496f37d498d2a7f3cd582ad80 /lib/test_fortify/write_overflow-strlcpy.c | |
| parent | 8e9028b3790ddb02c407e1a4da0ab7cf82790e7e (diff) | |
PCI: Drop pci_device_remove() test of pci_dev->driver
When the driver core calls pci_device_remove(), there is a driver bound
to the device, so pci_dev->driver is never 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