remove a redundant check
Merge pull request #5473 from chinhodado/patch-1

remove a redundant check