Remove ToSampleTypeBit as it is unused.

Bug: dawn:527
Change-Id: I09ce1e7e30b7d1329e3e42db9308f7220199cdd8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100469
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/dawn/native/Format.cpp b/src/dawn/native/Format.cpp
index cbb6d84..11de9ac 100644
--- a/src/dawn/native/Format.cpp
+++ b/src/dawn/native/Format.cpp
@@ -25,21 +25,6 @@
 
 // Format
 
-// TODO(dawn:527): Remove when unused.
-SampleTypeBit ToSampleTypeBit(wgpu::TextureComponentType type) {
-    switch (type) {
-        case wgpu::TextureComponentType::Float:
-            return SampleTypeBit::Float;
-        case wgpu::TextureComponentType::Sint:
-            return SampleTypeBit::Sint;
-        case wgpu::TextureComponentType::Uint:
-            return SampleTypeBit::Uint;
-        case wgpu::TextureComponentType::DepthComparison:
-            return SampleTypeBit::Depth;
-    }
-    UNREACHABLE();
-}
-
 SampleTypeBit SampleTypeToSampleTypeBit(wgpu::TextureSampleType sampleType) {
     switch (sampleType) {
         case wgpu::TextureSampleType::Float:
diff --git a/src/dawn/native/Format.h b/src/dawn/native/Format.h
index e192a2c..0a5f8f2 100644
--- a/src/dawn/native/Format.h
+++ b/src/dawn/native/Format.h
@@ -57,9 +57,7 @@
     Uint = 0x10,
 };
 
-// Converts an wgpu::TextureComponentType to its bitmask representation.
-SampleTypeBit ToSampleTypeBit(wgpu::TextureComponentType type);
-// Converts an wgpu::TextureSampleType to its bitmask representation.
+// Converts a wgpu::TextureSampleType to its bitmask representation.
 SampleTypeBit SampleTypeToSampleTypeBit(wgpu::TextureSampleType sampleType);
 
 struct TexelBlockInfo {