Remove useless comparsion