This is the opposite of my experience with salary transparency both as an employee and a manager. It tended to made unproductive employees leave when they realized that the company did not consider them as critical as they imagined themselves to be which saved a ton of effort because we rarely needed to resort to PIPs or firing. It also made it clearer to productive employees how much their work was valued.