Remove useless doubled lines