Remove never used CD/DA_FLAG_TAGGED_QUEUING flags.
MFC after: 1 week
This commit is contained in:
parent
00c5291f29
commit
ca5598a415
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237225
@ -97,7 +97,6 @@ typedef enum {
|
||||
CD_FLAG_NEW_DISC = 0x0002,
|
||||
CD_FLAG_DISC_LOCKED = 0x0004,
|
||||
CD_FLAG_DISC_REMOVABLE = 0x0008,
|
||||
CD_FLAG_TAGGED_QUEUING = 0x0010,
|
||||
CD_FLAG_CHANGER = 0x0040,
|
||||
CD_FLAG_ACTIVE = 0x0080,
|
||||
CD_FLAG_SCHED_ON_COMP = 0x0100,
|
||||
@ -653,8 +652,6 @@ cdregister(struct cam_periph *periph, void *arg)
|
||||
bioq_init(&softc->bio_queue);
|
||||
if (SID_IS_REMOVABLE(&cgd->inq_data))
|
||||
softc->flags |= CD_FLAG_DISC_REMOVABLE;
|
||||
if ((cgd->inq_data.flags & SID_CmdQue) != 0)
|
||||
softc->flags |= CD_FLAG_TAGGED_QUEUING;
|
||||
|
||||
periph->softc = softc;
|
||||
softc->periph = periph;
|
||||
|
@ -77,7 +77,6 @@ typedef enum {
|
||||
DA_FLAG_NEW_PACK = 0x002,
|
||||
DA_FLAG_PACK_LOCKED = 0x004,
|
||||
DA_FLAG_PACK_REMOVABLE = 0x008,
|
||||
DA_FLAG_TAGGED_QUEUING = 0x010,
|
||||
DA_FLAG_NEED_OTAG = 0x020,
|
||||
DA_FLAG_WENT_IDLE = 0x040,
|
||||
DA_FLAG_RETRY_UA = 0x080,
|
||||
@ -1540,8 +1539,6 @@ daregister(struct cam_periph *periph, void *arg)
|
||||
bioq_init(&softc->delete_run_queue);
|
||||
if (SID_IS_REMOVABLE(&cgd->inq_data))
|
||||
softc->flags |= DA_FLAG_PACK_REMOVABLE;
|
||||
if ((cgd->inq_data.flags & SID_CmdQue) != 0)
|
||||
softc->flags |= DA_FLAG_TAGGED_QUEUING;
|
||||
softc->unmap_max_ranges = UNMAP_MAX_RANGES;
|
||||
softc->unmap_max_lba = 1024*1024*2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user