I invented a new term at work today:
Code Tonsils: n. pl. Those parts of a program that were once useful, but now the application has been refactored and no longer requires them. Code tonsils are annoying - you spend precious time healing them when they become infected. If you recognise code tonsils, you should surgically remove them.