Remove some useless variable declaration