diff --git a/ip2country.install b/ip2country.install
index 3481385..5767075 100644
--- a/ip2country.install
+++ b/ip2country.install
@@ -122,48 +122,6 @@ function ip2country_uninstall() {
  */
 
 /**
- * Converts ip2country system variables to config.
- *
- * @ingroup config_upgrade
- */
-function ip2country_update_8000() {
-  // Obsolete variables - we no longer store these, but a prior version
-  // did. Try to remove just in case they're still hanging around.
-  variable_del('ip2country_lookup');
-  variable_del('ip2country_lookup_button');
-  variable_del('ip2country_update_database');
-
-  // Update most system variables to config settings.
-  update_variables_to_config(
-    'ip2country.settings',
-    array(
-      'ip2country_populate_database_on_install' => 'populate_database_on_install',
-      'ip2country_debug' => 'debug',
-      'ip2country_test_type' => 'test_type',
-      'ip2country_test_ip_address' => 'test_ip_address',
-      'ip2country_test_country' => 'test_country',
-      'ip2country_rir' => 'rir',
-      'ip2country_md5_checksum' => 'md5_checksum',
-      'ip2country_update_interval' => 'update_interval',
-      'ip2country_watchdog' => 'watchdog',
-    )
-  );
-
-  // Update remaining system variables to state variables.
-  \Drupal::state()->set('ip2country_last_update',
-                        variable_get('ip2country_populate_database_on_install', TRUE));
-  variable_del('ip2country_populate_database_on_install');
-
-  \Drupal::state()->set('ip2country_last_update',
-                        variable_get('ip2country_last_update', 0));
-  variable_del('ip2country_last_update');
-
-  \Drupal::state()->set('ip2country_last_update_rir',
-                        variable_get('ip2country_last_update_rir', 'unknown'));
-  variable_del('ip2country_last_update_rir');
-}
-
-/**
  * Migrate {users}.data into {users_data}.
  */
 function ip2country_update_8001() {
