Removed redundant check

Change-Id: Ib4bb3fd098d25dc1f9a1d916c62a325a6a5fda37