Remove an unneeded local variable.