Commit 4e6f7cfb authored by Thomas Huth's avatar Thomas Huth Committed by Michael Tokarev
Browse files

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: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 529490e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −2
Original line number Diff line number Diff line
@@ -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)