Removing useless variable definition