aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>2013-05-09 15:53:50 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2013-05-12 13:25:55 +0400
commitc7e775e4dda91472ec538101c536ea8950fe1515 (patch)
tree4175d7832e54492852a98b62b2a7a94ed7ee33c7 /block
parent7f303adc4f0aaa71b196d9f983150f3ec3367b46 (diff)
downloadqemu-c7e775e4dda91472ec538101c536ea8950fe1515.zip
qemu-c7e775e4dda91472ec538101c536ea8950fe1515.tar.gz
qemu-c7e775e4dda91472ec538101c536ea8950fe1515.tar.bz2
remove double semicolons
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'block')
-rw-r--r--block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/nbd.c b/block/nbd.c
index fab114b..30e3b78 100644
--- a/block/nbd.c
+++ b/block/nbd.c
@@ -609,7 +609,7 @@ static int nbd_co_discard(BlockDriverState *bs, int64_t sector_num,
return 0;
}
request.type = NBD_CMD_TRIM;
- request.from = sector_num * 512;;
+ request.from = sector_num * 512;
request.len = nb_sectors * 512;
nbd_coroutine_start(s, &request);