diff options
author | Fam Zheng <famz@redhat.com> | 2018-07-02 10:58:36 +0800 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2018-07-09 19:43:24 +0200 |
commit | 6d6bcc46b552c67aa14f25e69d518684b3e59361 (patch) | |
tree | 48e425827750fc7a739100b7cfb608ad2ed38834 /block/raw-format.c | |
parent | 65f1899e9bcd4faa147a5d907dc13fd7dbbbc0c7 (diff) | |
download | qemu-6d6bcc46b552c67aa14f25e69d518684b3e59361.zip qemu-6d6bcc46b552c67aa14f25e69d518684b3e59361.tar.gz qemu-6d6bcc46b552c67aa14f25e69d518684b3e59361.tar.bz2 |
raw: Drop superfluous semicolon
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 20180702025836.20957-5-famz@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/raw-format.c')
-rw-r--r-- | block/raw-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/raw-format.c b/block/raw-format.c index b78da56..8e648a5 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) { |