mbox series

[0/2] PCI: switchtec: Trivial cleanups

Message ID 20221215182140.129559-1-helgaas@kernel.org (mailing list archive)
Headers show
Series PCI: switchtec: Trivial cleanups | expand

Message

Bjorn Helgaas Dec. 15, 2022, 6:21 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

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(-)