Use C constants directly and remove unneeded test.