]> www.infradead.org Git - nvme.git/commit
PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
authorDexuan Cui <decui@microsoft.com>
Thu, 15 Jun 2023 04:44:49 +0000 (21:44 -0700)
committerWei Liu <wei.liu@kernel.org>
Sun, 18 Jun 2023 03:05:39 +0000 (03:05 +0000)
commitadd9195e69c94b32e96f78c2f9cea68f0e850b3f
tree88af1138f122cfd59e9f6b0b6814011d90338805
parent2738d5ab7929a845b654cd171a1e275c37eb428e
PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev

The hpdev->state is never really useful. The only use in
hv_pci_eject_device() and hv_eject_device_work() is not really necessary.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230615044451.5580-4-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/pci/controller/pci-hyperv.c