]> Pileus Git - ~andy/linux/blobdiff - drivers/ide/ide-dma.c
ide: remove BUG_ON() from ide_build_sglist()
[~andy/linux] / drivers / ide / ide-dma.c
index 51c86bc241ac710fa0e0005ab33a3494f0ac609a..7d361da8ceb21ee00a2790cd80cc5c2f21b26eda 100644 (file)
@@ -186,8 +186,6 @@ int ide_build_sglist(ide_drive_t *drive, struct request *rq)
        ide_hwif_t *hwif = HWIF(drive);
        struct scatterlist *sg = hwif->sg_table;
 
-       BUG_ON((rq->cmd_type == REQ_TYPE_ATA_TASKFILE) && rq->nr_sectors > 256);
-
        ide_map_sg(drive, rq);
 
        if (rq_data_dir(rq) == READ)