diff options
Diffstat (limited to 'drivers/ide/icside.c')
-rw-r--r-- | drivers/ide/icside.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c index cf0522f937c1..78fc36f98d29 100644 --- a/drivers/ide/icside.c +++ b/drivers/ide/icside.c | |||
@@ -325,12 +325,6 @@ static int icside_dma_setup(ide_drive_t *drive) | |||
325 | */ | 325 | */ |
326 | BUG_ON(dma_channel_active(ec->dma)); | 326 | BUG_ON(dma_channel_active(ec->dma)); |
327 | 327 | ||
328 | hwif->sg_nents = ide_build_sglist(drive, rq); | ||
329 | if (hwif->sg_nents == 0) { | ||
330 | ide_map_sg(drive, rq); | ||
331 | return 1; | ||
332 | } | ||
333 | |||
334 | /* | 328 | /* |
335 | * Ensure that we have the right interrupt routed. | 329 | * Ensure that we have the right interrupt routed. |
336 | */ | 330 | */ |