]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/hv/blkvsc.c
Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
[karo-tx-linux.git] / drivers / staging / hv / blkvsc.c
index 0daebc472e63b189f95f245ddba413b25ea05fcd..929238a6ce80b88151c471ea4c6f2a1f5d6ad24d 100644 (file)
@@ -40,15 +40,11 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
        struct storvsc_device_info *deviceInfo;
        int ret = 0;
 
-       DPRINT_ENTER(BLKVSC);
-
        deviceInfo = (struct storvsc_device_info *)AdditionalInfo;
 
        ret = StorVscOnDeviceAdd(Device, AdditionalInfo);
-       if (ret != 0) {
-               DPRINT_EXIT(BLKVSC);
+       if (ret != 0)
                return ret;
-       }
 
        /*
         * We need to use the device instance guid to set the path and target
@@ -63,8 +59,6 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
        deviceInfo->TargetId = Device->deviceInstance.data[5] << 8 |
                               Device->deviceInstance.data[4];
 
-       DPRINT_EXIT(BLKVSC);
-
        return ret;
 }
 
@@ -73,8 +67,6 @@ int BlkVscInitialize(struct hv_driver *Driver)
        struct storvsc_driver_object *storDriver;
        int ret = 0;
 
-       DPRINT_ENTER(BLKVSC);
-
        storDriver = (struct storvsc_driver_object *)Driver;
 
        /* Make sure we are at least 2 pages since 1 page is used for control */
@@ -106,7 +98,5 @@ int BlkVscInitialize(struct hv_driver *Driver)
        storDriver->Base.OnCleanup = StorVscOnCleanup;
        storDriver->OnIORequest = StorVscOnIORequest;
 
-       DPRINT_EXIT(BLKVSC);
-
        return ret;
 }