Removed check to default the hashing function in hashMask

There now no usage where a hashing function isn't passed in, so
it's an unnecessary step.