Remove unncessary variable assignment