diff --git a/core/lib/Drupal/Core/Controller/HtmlFormController.php b/core/lib/Drupal/Core/Controller/HtmlFormController.php
index 96530d5..82397aa 100644
--- a/core/lib/Drupal/Core/Controller/HtmlFormController.php
+++ b/core/lib/Drupal/Core/Controller/HtmlFormController.php
@@ -57,9 +57,6 @@ public function content(Request $request, $_form) {
$request->attributes->set('form', array());
$request->attributes->set('form_state', $form_state);
$args = $this->container->get('controller_resolver')->getArguments($request, array($form_object, 'buildForm'));
- unset($args[0], $args[1]);
- $request->attributes->remove('form');
- $request->attributes->remove('form_state');
$form_state['build_info']['args'] = $args;
$form_id = _drupal_form_id($form_object, $form_state);