[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 4/4] raw: Drop superfluous semicolon
From: |
Fam Zheng |
Subject: |
[Qemu-block] [PATCH 4/4] raw: Drop superfluous semicolon |
Date: |
Mon, 2 Jul 2018 10:58:36 +0800 |
Reported-by: Max Reitz <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
---
block/raw-format.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
--
2.17.1
- [Qemu-block] [PATCH 0/4] block: Trivial fixes in offloading code, Fam Zheng, 2018/07/01
- [Qemu-block] [PATCH 1/4] qcow2: Drop unused cluster_data, Fam Zheng, 2018/07/01
- [Qemu-block] [PATCH 2/4] file-posix: Fix fd_open check in raw_co_copy_range_to, Fam Zheng, 2018/07/01
- [Qemu-block] [PATCH 3/4] qcow2: Drop unreachable break, Fam Zheng, 2018/07/01
- [Qemu-block] [PATCH 4/4] raw: Drop superfluous semicolon,
Fam Zheng <=
- Re: [Qemu-block] [PATCH 0/4] block: Trivial fixes in offloading code, Max Reitz, 2018/07/02
- Re: [Qemu-block] [PATCH 0/4] block: Trivial fixes in offloading code, Stefan Hajnoczi, 2018/07/02