summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/dcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/dcopy.c')
-rw-r--r--usr/src/uts/common/io/dcopy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/uts/common/io/dcopy.c b/usr/src/uts/common/io/dcopy.c
index 02163c7e9e..b0beab93b5 100644
--- a/usr/src/uts/common/io/dcopy.c
+++ b/usr/src/uts/common/io/dcopy.c
@@ -24,8 +24,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* dcopy.c
* dcopy misc module
@@ -329,7 +327,7 @@ dcopy_free(dcopy_handle_t *channel)
{
dcopy_device_handle_t device;
dcopy_list_t *list;
- boolean_t cleanup;
+ boolean_t cleanup = B_FALSE;
ASSERT(*channel != NULL);
@@ -348,7 +346,6 @@ dcopy_free(dcopy_handle_t *channel)
* removed on the device.
*/
if ((*channel)->ch_removing && ((*channel)->ch_ref_cnt == 0)) {
- cleanup = B_FALSE;
device = (*channel)->ch_device;
mutex_enter(&device->dc_devchan_list.dl_mutex);
device->dc_removing_cnt--;