]> git.baikalelectronics.ru Git - kernel.git/commit
ide: cleanup ide_setup_dma()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:21 +0000 (22:25 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:21 +0000 (22:25 +0200)
commitfb45559f8f70ddcb69136a233248ae7e95b140de
treedc98e5f2b66d26f6aeb8405e8c47ea49ea784f1a
parent31b934cd97fc35de99a0e3c61ef56e398ee40c3c
ide: cleanup ide_setup_dma()

* There is no need to call ide_release_dma_engine().

* Move the code up to (and including) ide_allocate_dma_engine()
  call to the callers of ide_setup_dma().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/palm_bk3710.c
drivers/ide/ide-dma.c
drivers/ide/setup-pci.c