Remove dead code

CI
https://bamboo.zion.sonatype.com/browse/NX-OSSF25-1