Cleanup: remove useless checks.

Change-Id: I73c5c432cb384cbc28d584d751d6e9955a3eda05