From: Fam Zheng Date: Mon, 2 Jul 2018 02:58:36 +0000 (+0800) Subject: raw: Drop superfluous semicolon X-Git-Tag: qemu-xen-4.12.0-rc1~83^2~3 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6d6bcc46b552c67aa14f25e69d518684b3e59361;p=qemu-xen.git raw: Drop superfluous semicolon Reported-by: Max Reitz Signed-off-by: Fam Zheng Message-id: 20180702025836.20957-5-famz@redhat.com Reviewed-by: Stefan Hajnoczi Signed-off-by: Max Reitz --- diff --git a/block/raw-format.c b/block/raw-format.c index b78da564d4..8e648a5666 100644 --- a/block/raw-format.c +++ b/block/raw-format.c @@ -177,7 +177,7 @@ static inline int raw_adjust_offset(BlockDriverState *bs, uint64_t *offset, /* There's not enough space for the write, or the read request is * out-of-range. Don't read/write anything to prevent leaking out of * the size specified in options. */ - return is_write ? -ENOSPC : -EINVAL;; + return is_write ? -ENOSPC : -EINVAL; } if (*offset > INT64_MAX - s->offset) {