ide: remove IDE_AFLAG_NO_DOORLOCKING
Just use IDE_DFLAG_DOORLOCKING instead. There should be no functional changes caused by this patch. Acked-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -1732,7 +1732,7 @@ static int ide_cdrom_probe_capabilities(ide_drive_t *drive)
|
||||
return 0;
|
||||
|
||||
if ((buf[8 + 6] & 0x01) == 0)
|
||||
drive->atapi_flags |= IDE_AFLAG_NO_DOORLOCK;
|
||||
drive->dev_flags &= ~IDE_DFLAG_DOORLOCKING;
|
||||
if (buf[8 + 6] & 0x08)
|
||||
drive->atapi_flags &= ~IDE_AFLAG_NO_EJECT;
|
||||
if (buf[8 + 3] & 0x01)
|
||||
|
Reference in New Issue
Block a user