Remove unused variables from hal files.

Remove unused variables from hal files.