[cleanup] Remove redundant condition