diff --git a/core/includes/form.inc b/core/includes/form.inc
index 3ebaca1..f56cdcf 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -916,15 +916,6 @@ function drupal_process_form($form_id, &$form, &$form_state) {
       // Execute form submit handlers.
       form_execute_handlers('submit', $form, $form_state);
 
-      // We'll clear out the cached copies of the form and its stored data
-      // here, as we've finished with them. The in-memory copies are still
-      // here, though.
-      $config = config('system.performance');
-      if (!$config->get('cache.page.use_internal') && !empty($form_state['values']['form_build_id'])) {
-        cache('form')->delete('form_' . $form_state['values']['form_build_id']);
-        cache('form')->delete('form_state_' . $form_state['values']['form_build_id']);
-      }
-
       // If batches were set in the submit handlers, we process them now,
       // possibly ending execution. We make sure we do not react to the batch
       // that is already being processed (if a batch operation performs a
