Removed unnecessary code
Merge pull request #3259 from lwyszomi/110260-case

Removed unnecessary code