diff --git a/core/modules/overlay/overlay.module b/core/modules/overlay/overlay.module
index 1566740..222fb27 100644
--- a/core/modules/overlay/overlay.module
+++ b/core/modules/overlay/overlay.module
@@ -524,17 +524,7 @@ function template_preprocess_overlay(&$variables) {
   $variables['attributes']['class'][] = 'overlay';
   // Add attributes for the overlay content.
   $variables['content_attributes']['class'][] = 'clearfix';
-}
-
-/**
- * Implements template_process_HOOK() for overlay.tpl.php
- *
- * Places the rendered HTML for the page body into a top level variable.
- *
- * @see template_preprocess_overlay()
- * @see overlay.tpl.php
- */
-function template_process_overlay(&$variables) {
+  // Add page content to the overlay.
   $variables['page'] = $variables['page']['#children'];
 }
 
