Remove dead code in burndir function