Revert "Update hotplug.c"

This reverts commit f9ce9bec48fefb517d66038e2a56deeca2680328.