[Libguestfs] [PATCH v2 11/18] sparsify: Remove unused variable definition.

Richard W.M. Jones rjones at redhat.com
Tue Mar 11 23:13:54 UTC 2014


---
 sparsify/sparsify.ml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sparsify/sparsify.ml b/sparsify/sparsify.ml
index 212a23f..b124406 100644
--- a/sparsify/sparsify.ml
+++ b/sparsify/sparsify.ml
@@ -296,9 +296,6 @@ let () =
   in
   Sys.set_signal Sys.sigint (Sys.Signal_handle do_sigint)
 
-(* Get the size in bytes of the input disk. *)
-let insize = g#blockdev_getsize64 "/dev/sda"
-
 (* Write zeroes for non-ignored filesystems that we are able to mount,
  * and selected swap partitions.
  *)
-- 
1.8.5.3




More information about the Libguestfs mailing list