installer: Remove some unused variables and code.