diff --git a/core/modules/locale/locale.install b/core/modules/locale/locale.install
index 995a6624fdaed5d5b03a7430e98be1b9767b5400..aad91abbdff8ddcd5f71f011820368e822eeeb52 100644
--- a/core/modules/locale/locale.install
+++ b/core/modules/locale/locale.install
@@ -206,38 +206,6 @@ function locale_schema() {
   return $schema;
 }
 
-/**
- * Converts language domains to new format.
- */
-function locale_update_8001() {
-  $message = '';
-  $domains = locale_language_negotiation_url_domains();
-  // $used_domains keeps track of the domain names in use.
-  $used_domains = array();
-  foreach ($domains as $langcode => $domain) {
-    // Domain names can not contain protocol and/or ports.
-    if (!empty($domain)) {
-      $host = 'http://' . str_replace(array('http://', 'https://'), '', $domain);
-      if (parse_url($host, PHP_URL_HOST) != $domain) {
-        $domains[$langcode] = parse_url($host, PHP_URL_HOST);
-      }
-      if (array_key_exists($domain, $used_domains)) {
-        if (empty($message)) {
-          $message = 'Some languages are using the same domain name, you should change these domain names at ' . l('URL language detection configuration', 'admin/config/regional/language/configure/url' . '.');
-        }
-      }
-      else {
-        $used_domains[$domain] = $domain;
-      }
-    }
-  }
-  locale_language_negotiation_url_domains_save($domains);
-
-  if (!empty($message)) {
-    return $message;
-  }
-}
-
 /**
  * @addtogroup updates-7.x-to-8.x
  * @{