Commit ac77ef8b authored by Borislav Petkov's avatar Borislav Petkov Committed by Bartlomiej Zolnierkiewicz

ide: remove unused PC_FLAG_DRQ_INTERRUPT

There should be no functionality change resulting from this patch.
Signed-off-by: default avatarBorislav Petkov <petkovbb@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent be4c916e
...@@ -302,8 +302,7 @@ ide_startstop_t ide_issue_pc(ide_drive_t *drive, struct ide_atapi_pc *pc, ...@@ -302,8 +302,7 @@ ide_startstop_t ide_issue_pc(ide_drive_t *drive, struct ide_atapi_pc *pc,
bcount, dma); bcount, dma);
/* Issue the packet command */ /* Issue the packet command */
if ((pc->flags & PC_FLAG_DRQ_INTERRUPT) || if (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) {
(drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT)) {
ide_execute_command(drive, WIN_PACKETCMD, handler, ide_execute_command(drive, WIN_PACKETCMD, handler,
timeout, NULL); timeout, NULL);
return ide_started; return ide_started;
......
...@@ -687,7 +687,6 @@ enum { ...@@ -687,7 +687,6 @@ enum {
PC_FLAG_WRITING = (1 << 6), PC_FLAG_WRITING = (1 << 6),
/* command timed out */ /* command timed out */
PC_FLAG_TIMEDOUT = (1 << 7), PC_FLAG_TIMEDOUT = (1 << 7),
PC_FLAG_DRQ_INTERRUPT = (1 << 8),
}; };
struct ide_atapi_pc { struct ide_atapi_pc {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment