SONAR-2055 Remove useless code