Remove useless variable assignment.