Remove useless var allocation