delete extraneous line discipline what with ioctl to set type