Remove dead call to getTypeToTransformTo. The result is
unused.