diff --git a/token/program-2022/src/extension/mod.rs b/token/program-2022/src/extension/mod.rs
index fb49afcd108..b08d0fb7749 100644
--- a/token/program-2022/src/extension/mod.rs
+++ b/token/program-2022/src/extension/mod.rs
@@ -513,32 +513,6 @@ impl<'data, S: BaseState> StateWithExtensionsMut<'data, S> {
fn get_first_extension_type(&self) -> Result