Remove useless variable assignment