Kotlin: fix build warning

The nullability check is not needed.

Bug: b/449244065
Change-Id: Icb267307aa87cd85961cd6849cad23ee153d9acd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/268894
Reviewed-by: Ria Singhla <rsinghla@google.com>
Commit-Queue: Ria Singhla <rsinghla@google.com>
Auto-Submit: Jim Blackler <jimblackler@google.com>
diff --git a/tools/android/webgpu/src/main/java/androidx/webgpu/helper/Textures.kt b/tools/android/webgpu/src/main/java/androidx/webgpu/helper/Textures.kt
index 89ea9c7..a5ef0fc 100644
--- a/tools/android/webgpu/src/main/java/androidx/webgpu/helper/Textures.kt
+++ b/tools/android/webgpu/src/main/java/androidx/webgpu/helper/Textures.kt
@@ -40,7 +40,7 @@
             size = size.toLong(),
             usage = BufferUsage.CopyDst or BufferUsage.MapRead
         )
-    )!!
+    )
     device.queue.submit(arrayOf(device.createCommandEncoder().let {
         it.copyTextureToBuffer(
             source = TexelCopyTextureInfo(texture = this),