diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index 177f9312dca50d89bd13d15cfb62659c1368c81a..fe1a7496f3df4103a301d241c8402694cab04958 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -242,8 +242,6 @@ def ix_peering_info(peer_info):
 
     keyword = description.split(' ')[0]  # regex needed??? (e.g. tabs???)
 
-    r = common.get_current_redis()
-
     for doc in common.load_json_docs(
             config_params=current_app.config['INVENTORY_PROVIDER_CONFIG'],
             key_pattern='ix_public_peer:*',