Remove double setting of variable.