summaryrefslogtreecommitdiffstats
path: root/hw/ide/atapi.c
diff options
context:
space:
mode:
authorThomas Huth2015-11-10 21:16:08 +0100
committerMichael Tokarev2016-01-11 09:39:28 +0100
commit4e6f7cfbf98e7adae2be524b4042751d107a5bb4 (patch)
tree368708f8babaa193298d72a4f7445778872fe030 /hw/ide/atapi.c
parentosdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h (diff)
downloadqemu-4e6f7cfbf98e7adae2be524b4042751d107a5bb4.tar.gz
qemu-4e6f7cfbf98e7adae2be524b4042751d107a5bb4.tar.xz
qemu-4e6f7cfbf98e7adae2be524b4042751d107a5bb4.zip
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>
Diffstat (limited to 'hw/ide/atapi.c')
-rw-r--r--hw/ide/atapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c
index 65f8dd457b..272ab90c7a 100644
--- a/hw/ide/atapi.c
+++ b/hw/ide/atapi.c
@@ -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)