remove PROFILE checks

never defined, follow-up of 512de6e75d34d2144392d1e78c25446f2d0b3a35