From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcbMy-0007Oe-0Y for qemu-devel@nongnu.org; Mon, 09 Jul 2018 14:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcbMw-0002xe-Li for qemu-devel@nongnu.org; Mon, 09 Jul 2018 14:58:44 -0400 From: Max Reitz Date: Mon, 9 Jul 2018 20:58:25 +0200 Message-Id: <20180709185828.4248-5-mreitz@redhat.com> In-Reply-To: <20180709185828.4248-1-mreitz@redhat.com> References: <20180709185828.4248-1-mreitz@redhat.com> Subject: [Qemu-devel] [PULL 4/7] raw: Drop superfluous semicolon List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Max Reitz , Kevin Wolf , Peter Maydell From: Fam Zheng 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 --- 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