(refactor) remove redundant check
Merge pull request #997 from pomerantsev/redundant-check

(refactor) remove redundant check