summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDong Xu Wang2013-05-09 09:53:50 +0200
committerMichael Tokarev2013-05-12 11:25:55 +0200
commitc7e775e4dda91472ec538101c536ea8950fe1515 (patch)
tree4175d7832e54492852a98b62b2a7a94ed7ee33c7 /block
parentclean unnecessary code: don't check g_strdup arg for NULL (diff)
downloadqemu-c7e775e4dda91472ec538101c536ea8950fe1515.tar.gz
qemu-c7e775e4dda91472ec538101c536ea8950fe1515.tar.xz
qemu-c7e775e4dda91472ec538101c536ea8950fe1515.zip
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 fab114bbb5..30e3b78e17 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);