Remove useless lines.