[IBBUS] fixes for compiler
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Apr 2008 18:52:20 +0000 (18:52 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Apr 2008 18:52:20 +0000 (18:52 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1052 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/iou/kernel/iou_driver.c

index 7b33741..ddafda0 100644 (file)
@@ -208,11 +208,12 @@ iou_unload(
        IN                              DRIVER_OBJECT                           *p_driver_obj )\r
 {\r
        IOU_ENTER( IOU_DBG_DRV );\r
-#if defined(EVENT_TRACING)\r
-       WPP_CLEANUP( p_drv_obj );\r
-#endif\r
 \r
+#if defined(EVENT_TRACING)\r
+       WPP_CLEANUP( p_driver_obj );\r
+#else\r
        UNUSED_PARAM( p_driver_obj );\r
+#endif\r
 \r
        CL_DEINIT;\r
 \r
@@ -230,7 +231,7 @@ DriverEntry(
        IOU_ENTER( IOU_DBG_DRV );\r
 \r
 #if defined(EVENT_TRACING)\r
-       WPP_INIT_TRACING( p_drv_obj, p_registry_path );\r
+       WPP_INIT_TRACING( p_driver_obj, p_registry_path );\r
 #endif\r
 \r
        status = CL_INIT;\r