diff options
author | Christoph Hellwig <hch@lst.de> | 2010-12-20 13:46:09 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-01-24 11:08:51 +0100 |
commit | c641483fbe0aa08cd7c0580d019dc2d5a7e71138 (patch) | |
tree | 5bd0704ad6002cf0c353606954afaad1cc4752eb /qemu-os-posix.h | |
parent | 596bb44dead047249c11df24b0e1ffaa514f4909 (diff) |
ide: kill ide_dma_submit_check
Merge ide_dma_submit_check into it's only caller. Also use tail recursion
using a goto instead of a real recursion - this avoid overflowing the
stack in the pathological situation of an recurring error that is ignored.
We'll still be busy looping in ide_dma_cb, but at least won't eat up
all stack space after this.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-os-posix.h')
0 files changed, 0 insertions, 0 deletions