]> err.no Git - linux-2.6/commitdiff
ide: remove unused PC_FLAG_DRQ_INTERRUPT
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 23 Jul 2008 17:56:01 +0000 (19:56 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:56:01 +0000 (19:56 +0200)
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>
drivers/ide/ide-atapi.c
include/linux/ide.h

index 711a5f6d35e43c3285f2e8a96b2793330ac00b71..adf04f99cdebb20f9d63e15c0010fa34b6db5e39 100644 (file)
@@ -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;
index 147bfee1fe705107d6c6decb7f1dba908c06ee27..d67ccca2b96472b229ffd264642ff420aae66cba 100644 (file)
@@ -687,7 +687,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 {