gh-145633: Remove remnants of the "unknown_format" (floats) in the struct module (#146189)
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 1f1b44b..d699589 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1536,10 +1536,6 @@ init_endian_tables(void *Py_UNUSED(arg))
size matches */
if (ptr->size != native->size)
break;
- /* Skip float and double, could be
- "unknown" float format */
- if (ptr->format == 'd' || ptr->format == 'f')
- break;
/* Skip _Bool, semantics are different for standard size */
if (ptr->format == '?')
break;