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

From: Bjorn Helgaas
Date: Thu Dec 15 2022 - 13:21:55 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

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