Removed unnecessary code
Merge pull request #2533 from obigu/scaling

Removed unnecessary code