THH: Remove unused varNameE function