[PATCH 15/16] ide: remove unused PC_FLAG_DRQ_INTERRUPT

Borislav Petkov
2008-06-29T11:03:12Z

drivers/ide/ide-atapi.c | 3 +--
include/linux/ide.h | 1 -
2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index 951768a..1136247 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -292,8 +292,7 @@ ide_startstop_t ide_issue_pc(ide_drive_t *drive, struct ide_atapi_pc *pc,
bcount, dma);

/* Issue the packet command */
- if ((pc->flags & PC_FLAG_DRQ_INTERRUPT) ||
- (drive->dev_flags & IDE_FLAG_DRQ_INTERRUPT)) {
+ if (drive->dev_flags & IDE_FLAG_DRQ_INTERRUPT) {
ide_execute_command(drive, WIN_PACKETCMD, handler,
timeout, NULL);
return ide_started;
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 9ab55c5..70bfa8b 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -657,7 +657,6 @@ enum {
PC_FLAG_WRITING = (1 << 6),
/* command timed out */
PC_FLAG_TIMEDOUT = (1 << 7),
- PC_FLAG_DRQ_INTERRUPT = (1 << 8),
};

struct ide_atapi_pc {
--
1.5.5.4