On 6/22/21 6:58 PM, Zebediah Figura (she/her) wrote:
This sends IRP_MN_SURPRISE_REMOVAL twice to each child; I believe you want to call send_surprise_removal() everywhere you call remove_device() instead.
Ah indeed, I wanted to avoid duplicating calls but I guess it's fine.