[cuda] Remove redundant memory initialization during device creation (#15899)
diff --git a/experimental/cuda2/cuda_device.c b/experimental/cuda2/cuda_device.c
index 839b5e1..fe7a4b6 100644
--- a/experimental/cuda2/cuda_device.c
+++ b/experimental/cuda2/cuda_device.c
@@ -138,7 +138,6 @@
iree_host_size_t total_size = iree_sizeof_struct(*device) + identifier.size;
IREE_RETURN_IF_ERROR(
iree_allocator_malloc(host_allocator, total_size, (void**)&device));
- memset(device, 0, total_size);
iree_hal_resource_initialize(&iree_hal_cuda2_device_vtable,
&device->resource);