Revert "Add explicit condition check to guard av1_ml_prune_4_partition()"

This reverts commit 20dc81fcd1cbe253c841576d77a14b84688c1c26.

Reason for revert: warning persists.

Change-Id: Icccbdd53964ffee5d341d91851d7ab2aad4bbb5c
diff --git a/av1/encoder/partition_search.c b/av1/encoder/partition_search.c
index 12087aa..be4711a 100644
--- a/av1/encoder/partition_search.c
+++ b/av1/encoder/partition_search.c
@@ -4032,11 +4032,6 @@
     return;
   }
 
-  BLOCK_SIZE horz_4_bs = get_partition_subsize(bsize, PARTITION_HORZ_4);
-  BLOCK_SIZE vert_4_bs = get_partition_subsize(bsize, PARTITION_VERT_4);
-  if (horz_4_bs == BLOCK_INVALID || vert_4_bs == BLOCK_INVALID)
-    partition4_allowed = false;
-
   PARTITION_TYPE cur_part[NUM_PART4_TYPES] = { PARTITION_HORZ_4,
                                                PARTITION_VERT_4 };
   const PartitionCfg *const part_cfg = &cpi->oxcf.part_cfg;