Teams can actually function well and have no problems for periods of time. I those cases you would almost certainly break that by firing the manager.
I think everyone would agree that yes-people are useless for a team, but if you find yourself surrounded by them you have to ask why. Either you hired poorly, or more likely the way you treat you team and/or company creates a culture of fear and dishonesty.
I was just assuming you were talking about managers not independent contributors. The "you" would be the person with the authority to fire though, as a working programmer would have absolutely no power to fire anyone saying there are no problems.
I think everyone would agree that yes-people are useless for a team, but if you find yourself surrounded by them you have to ask why. Either you hired poorly, or more likely the way you treat you team and/or company creates a culture of fear and dishonesty.