ide: remove redundant ->ide_dma_on call from set_using_dma()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:19 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:19 +0000 (22:17 +0100)
commit23b1bd459c9e8a925381960f0b69ac85468c3af1
tree6bef66f5615334435a3fdc2fd1c617b79e609288
parent4eed504d140319d6c1c7e0a5b7a9bf41dabf7cea
ide: remove redundant ->ide_dma_on call from set_using_dma()

ide_set_dma() calls ->ide_dma_on method itself and returns zero
only if ->ide_dma_on call succeeded.

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>
drivers/ide/ide.c