summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-atapi.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-07-23 17:56:01 (GMT)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 17:56:01 (GMT)
commitac77ef8b03677c8ae8afe77bccc5f6a969193a79 (patch)
tree0fb68c364198ecc6e28eda8398b6871ca011d83b /drivers/ide/ide-atapi.c
parentbe4c916e96bcde629463d7577d4c402c7f6e6f3e (diff)
downloadlinux-fsl-qoriq-ac77ef8b03677c8ae8afe77bccc5f6a969193a79.tar.xz
ide: remove unused PC_FLAG_DRQ_INTERRUPT
There should be no functionality change resulting from this patch. Signed-off-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r--drivers/ide/ide-atapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index 711a5f6..adf04f9 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -302,8 +302,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->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT)) {
+ if (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) {
ide_execute_command(drive, WIN_PACKETCMD, handler,
timeout, NULL);
return ide_started;