Remove redundant line of code
Merge pull request #2767 from wmtan/RemoveRedundantLineOfCode

Remove redundant line of code