Remove unused variables in hash benchmark.