]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Remove bus device removal unused refcount/functions
authorLong Li <longli@microsoft.com>
Wed, 12 May 2021 08:06:49 +0000 (01:06 -0700)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 3 Jun 2021 17:38:32 +0000 (18:38 +0100)
commite2861d3a210712b4835d0069e80b1f1b0f87273f
treece3a1ac912d47353802788e56c8d5e6d9116c877
parent0b4c2bbf0b2cb8b9250d15ed519deff75cb3fa56
PCI: hv: Remove bus device removal unused refcount/functions

With the new method of flushing/stopping the workqueue before doing bus
removal, the old mechanism of using refcount and wait for completion
is no longer needed. Remove those dead code.

Link: https://lore.kernel.org/r/1620806809-31055-1-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Long Li <longli@microsoft.com>
[lorenzo.pieralisi@arm.com: Reworded subject]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
drivers/pci/controller/pci-hyperv.c