[PATCH v2 21/50] hash: Drop some #ifdefs in hash.c