aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/blkvsc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 15:14:04 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 15:14:04 -0700
commit83c720ea395c4ee725e1035cbcda809794b46091 (patch)
treeba683a1eef41cfca86286a2d81d49068ac12d478 /drivers/staging/hv/blkvsc.c
parentStaging: hv: remove DPRINT_ENTER macro (diff)
downloadlinux-dev-83c720ea395c4ee725e1035cbcda809794b46091.tar.xz
linux-dev-83c720ea395c4ee725e1035cbcda809794b46091.zip
Staging: hv: remove DPRINT_EXIT macro
No need for it, use the built-in kernel function tracing instead if you really need something like this. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/blkvsc.c')
-rw-r--r--drivers/staging/hv/blkvsc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/hv/blkvsc.c b/drivers/staging/hv/blkvsc.c
index 3aeeda2cbe7a..929238a6ce80 100644
--- a/drivers/staging/hv/blkvsc.c
+++ b/drivers/staging/hv/blkvsc.c
@@ -43,10 +43,8 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
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
@@ -61,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;
}
@@ -102,7 +98,5 @@ int BlkVscInitialize(struct hv_driver *Driver)
storDriver->Base.OnCleanup = StorVscOnCleanup;
storDriver->OnIORequest = StorVscOnIORequest;
- DPRINT_EXIT(BLKVSC);
-
return ret;
}