diff --git a/DependencyInjection/BazingaGeocoderExtension.php b/DependencyInjection/BazingaGeocoderExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/BazingaGeocoderExtension.php
+++ b/DependencyInjection/BazingaGeocoderExtension.php
@@ -151,10 +151,6 @@ class BazingaGeocoderExtension extends Extension
             $this->addProvider('maxmind', array($maxmindParams['api_key']));
         }
 
-        if (isset($config['provider']['cache'])) {
-            $params = $config['provider']['cache'];
-        }
-
         if (isset($config['providers']['cache'])) {
             $params = $config['providers']['cache'];
             $cache = new Reference($params['adapter']);
[Extension] Remove duplicated cache lines