Removing redundant line