stream: remove useless check