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)
commit326dc2e1e59a98c61c3c71616496422af522678c
treece3a1ac912d47353802788e56c8d5e6d9116c877
parent94d22763207ac6633612b8d8e0ca4fba0f7aa139
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