A lot of legacy code can be really bad. By the time you have gone through it to understand what is going on, a considerable investment of time has occurred.
Consider when obsolete or unused code is reached; what should you do?
Old-school folks may be inclined to let it be. They know the answer and move on to something else – let it continue to rot, it won’t hurt the product. If they are feeling especially helpful, a comment may be entered to acknowledge the irrelevance.
If you delete it, you have immediately shared that knowledge with the rest of the team! The time you “wasted” is forever saved. This is a great step, as the compound interest of this recovered over time pays back many times over.