]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - block/raw-format.c
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
[thirdparty/qemu.git] / block / raw-format.c
index dee262875a216af694ae5431e8b0fa8772f48540..2fd69cdb088bb37f1b5bdce0ae0ac4753b071c99 100644 (file)
@@ -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) {