Removed stupid code in hd.c