removed excessive check

Signed-off-by: Siddhartha Gupta <makerzzz.zzzz@gmail.com>