[PATCH 0/2] PCI: switchtec: Trivial cleanups

Bjorn Helgaas
2022-12-15T18:21:55Z

Simplify switchtec_dma_mrpc_isr() slightly and remove some unused
assignments in switchtec_dev_read().

It's possible you want a different fix for the latter, e.g., actually
returning the error values that are currently assigned but then ignored.

Bjorn Helgaas (2):
PCI: switchtec: Simplify switchtec_dma_mrpc_isr()
PCI: switchtec: Remove useless assignments in switchtec_dev_read()

drivers/pci/switch/switchtec.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)

--
2.25.1