readline: remove doubled case.