diff options
author | Keith Busch <keith.busch@intel.com> | 2018-09-18 17:58:43 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-10-08 12:18:13 -0500 |
commit | 27c1ce8bbed7e7f0e4a87cf4a93f09be26d62ada (patch) | |
tree | 08dd298261168ab071bbb935cc64b6b3acee6f88 /drivers/spi/spi-ppc4xx.c | |
parent | fcd4d369034a819aa393f65c3a8f58db9ab5ed2a (diff) |
PCI/AER: Use kfifo for tracking events instead of reimplementing it
The kernel provides a generic FIFO implementation, so no need to reinvent
that capability in a driver. Replace the AER-specific implementation with
the kernel-provided kfifo. Since the interrupt handler producer and work
queue consumer run single threaded, there is no need for additional
locking, so remove that lock, too.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/spi/spi-ppc4xx.c')
0 files changed, 0 insertions, 0 deletions