hw/ide: Remove superfluous return statements
The "return;" statements at the end of functions do not make much sense, so let's remove them. Cc: qemu-block@nongnu.org Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
529490e5d6
commit
4e6f7cfbf9
@ -824,7 +824,6 @@ static void cmd_inquiry(IDEState *s, uint8_t *buf)
|
||||
out:
|
||||
buf[size_idx] = idx - preamble_len;
|
||||
ide_atapi_cmd_reply(s, idx, max_len);
|
||||
return;
|
||||
}
|
||||
|
||||
static void cmd_get_configuration(IDEState *s, uint8_t *buf)
|
||||
|
@ -292,8 +292,6 @@ done:
|
||||
block_acct_done(blk_get_stats(s->blk), &s->acct);
|
||||
}
|
||||
io->dma_end(opaque);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void pmac_ide_transfer_cb(void *opaque, int ret)
|
||||
|
Loading…
Reference in New Issue
Block a user