PCI/switchtec: Remove redundant valid PFF number count
authorWesley Sheng <wesley.sheng@microchip.com>
Mon, 6 Jan 2020 19:03:29 +0000 (12:03 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Jan 2020 17:00:36 +0000 (11:00 -0600)
commit7501a02a9dfca3b4aa5caa74d86b7215b2697f54
tree89dea309f8b3d7f9685802cdf817d9e61416d403
parenta6b0ef9a7d03bb78d37c420753741ef8a082160b
PCI/switchtec: Remove redundant valid PFF number count

Remove the redundant valid PFF number count from ioctl_event_summary(),
since init_pff() has already counted the valid PFFs.

Link: https://lore.kernel.org/r/20200106190337.2428-5-logang@deltatee.com
Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/switch/switchtec.c