Bartlomiej Zolnierkiewicz 7b905994ce ide: cleanup ide_set_dma()
* ->dma_off_quietly is always called before ide_set_dma()
  so the call can be moved inside ide_set_dma().

* ide_dma_check() doesn't touch hardware so ->dma_off_quietly
  call for 'rc == -1' case is redundant, remove it.

* '0' and '-1' are the only values returned by ide_dma_check()
  so remove dead code for other cases.

There should be no functionality changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:19 +01:00
..
2008-01-24 22:50:12 -08:00
2008-01-25 22:17:19 +01:00
2007-12-31 23:11:11 +00:00
2007-12-23 12:54:37 -08:00
2008-01-24 20:40:44 -08:00
2008-01-25 22:17:13 +01:00
2008-01-24 20:40:45 -08:00
2008-01-24 20:40:43 -08:00