remove extra code
Merge pull request #6805 from bariskanat/patch-1

remove extra code