Fix for VMware reboot --hard operation

Prune unused code