Remove unused variables from hal files.