emulatedType is not used in prlsdkAddDomainHardDisksInfo()
---
src/vz/vz_sdk.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 3fd17db..8e6e89d 100644
--- a/src/vz/vz_sdk.c
+++ b/src/vz/vz_sdk.c
@@ -817,14 +817,9 @@ prlsdkAddDomainHardDisksInfo(vzDriverPtr driver, PRL_HANDLE sdkdom,
virDomainDef
for (i = 0; i < hddCount; ++i) {
- PRL_UINT32 emulatedType;
-
pret = PrlVmCfg_GetHardDisk(sdkdom, i, &hdd);
prlsdkCheckRetGoto(pret, error);
- pret = PrlVmDev_GetEmulatedType(hdd, &emulatedType);
- prlsdkCheckRetGoto(pret, error);
-
if (IS_CT(def) &&
prlsdkInBootList(sdkdom, hdd)) {
--
1.8.3.1