diff options
author | Uwe Kleine-König <[email protected]> | 2021-10-04 14:59:33 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-10-12 17:37:15 -0500 |
commit | 8f5c335e34b5ae2dda6db2af300381fc9fb53fe7 (patch) | |
tree | 51265d6bdd2f5307b80a97355a1865cdad57c30c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a534ff3f4d6082f5ac228194accb7b414f0d6f0b (diff) |
crypto: qat - simplify adf_enable_aer()
A struct pci_driver is shared across all device instances, so assigning
pci_driver.err_handler once per device isn't really sensible.
Set adf_driver.err_handler statically instead of in adf_enable_aer().
This removes a use of pci_dev->driver, which is a step toward removing
pci_dev->driver altogether.
Since adf_enable_aer() returns zero unconditionally, make it a void
function.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions