Commit add9195
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>1 parent 2738d5a commit add9195
1 file changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | 548 | | |
557 | 549 | | |
558 | 550 | | |
559 | 551 | | |
560 | | - | |
561 | 552 | | |
562 | 553 | | |
563 | 554 | | |
| |||
2843 | 2834 | | |
2844 | 2835 | | |
2845 | 2836 | | |
2846 | | - | |
2847 | | - | |
2848 | 2837 | | |
2849 | 2838 | | |
2850 | 2839 | | |
| |||
2901 | 2890 | | |
2902 | 2891 | | |
2903 | 2892 | | |
2904 | | - | |
2905 | 2893 | | |
2906 | 2894 | | |
2907 | 2895 | | |
| |||
0 commit comments