Remove unnnecessary variable assignment.