You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/17 16:39:45 UTC

[4/4] git commit: updated refs/heads/master to e1842a9

CID-1199715: Remove dead code from LibvirtStorageAdaptor

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e1842a9d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e1842a9d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e1842a9d

Branch: refs/heads/master
Commit: e1842a9d53cdb8a8842facb933fe77c339036ce4
Parents: 369b5b4
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Wed Sep 17 16:30:42 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Sep 17 16:30:42 2014 +0200

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e1842a9d/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
index 07fd4b1..ffd4423 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
@@ -707,7 +707,6 @@ public class LibvirtStorageAdaptor implements StorageAdaptor {
 
     private KVMPhysicalDisk createPhysicalDiskOnRBD(String name, KVMStoragePool pool,
                                                PhysicalDiskFormat format, Storage.ProvisioningType provisioningType, long size) {
-        LibvirtStoragePool libvirtPool = (LibvirtStoragePool) pool;
         String volPath = null;
 
         /**