Skip to content
Commit add9195e authored by Dexuan Cui's avatar Dexuan Cui Committed by Wei Liu
Browse files

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: default avatarDexuan Cui <decui@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Acked-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230615044451.5580-4-decui@microsoft.com
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 2738d5ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment