Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux-2.6-microblaze.git] / drivers / staging / rts5208 / rtsx.c
index 8d6139f..91fcf85 100644 (file)
@@ -557,7 +557,7 @@ static irqreturn_t rtsx_interrupt(int irq, void *dev_id)
                                complete(dev->done);
                } else if (status & DATA_DONE_INT) {
                        dev->trans_result = TRANS_NOT_READY;
-                       if (dev->done && (dev->trans_state == STATE_TRANS_SG))
+                       if (dev->done && dev->trans_state == STATE_TRANS_SG)
                                complete(dev->done);
                }
        }