diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module
index 94cb23199a0734e37cc3ca63a3c5d0b8a50add91..ec6a2cc9716f0e6553f26927317f48a19c0c7043 100644
--- a/core/modules/comment/comment.module
+++ b/core/modules/comment/comment.module
@@ -1574,19 +1574,6 @@ function template_preprocess_comment_wrapper(&$variables) {
   $variables['form'] = $variables['content']['comment_form'];
 }
 
-/**
- * Returns an array of viewing modes for comment listings.
- *
- * We can't use a global variable array because the locale system
- * is not initialized yet when the Comment module is loaded.
- */
-function _comment_get_modes() {
-  return array(
-    COMMENT_MODE_FLAT => t('Flat list'),
-    COMMENT_MODE_THREADED => t('Threaded list')
-  );
-}
-
 /**
  * Returns an array of "comments per page" values that users can select from.
  */