dead wood
people in a group or organization who are not useful any more and who need to be removed.
There's a lot of dead wood in the team which needs to be cleared out.
Cambridge English Idioms Dictionary