diff options
-rw-r--r-- | drivers/ide/ide-dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index 51c86bc241ac..7d361da8ceb2 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c | |||
@@ -186,8 +186,6 @@ int ide_build_sglist(ide_drive_t *drive, struct request *rq) | |||
186 | ide_hwif_t *hwif = HWIF(drive); | 186 | ide_hwif_t *hwif = HWIF(drive); |
187 | struct scatterlist *sg = hwif->sg_table; | 187 | struct scatterlist *sg = hwif->sg_table; |
188 | 188 | ||
189 | BUG_ON((rq->cmd_type == REQ_TYPE_ATA_TASKFILE) && rq->nr_sectors > 256); | ||
190 | |||
191 | ide_map_sg(drive, rq); | 189 | ide_map_sg(drive, rq); |
192 | 190 | ||
193 | if (rq_data_dir(rq) == READ) | 191 | if (rq_data_dir(rq) == READ) |