diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index fae04385a8624021ccbd674e0cab1a530bb9db5c..c8c36c5e0b17750dad8aaf38bea368b78f9fdefc 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -161,7 +161,6 @@ def ix_peering_info(peer_info):
     description = peer_info['description']
     assert description is not None  # sanity
 
-    protocol = type(address).__name__
     keyword = description.split(' ')[0]  # regex needed??? (e.g. tabs???)
 
     r = common.get_current_redis()
@@ -170,8 +169,6 @@ def ix_peering_info(peer_info):
         other = r.get(k.decode('utf-8')).decode('utf-8')
         other = json.loads(other)
 
-        peer_address = ipaddress.ip_address(other['name'])
-
         if other['router'] == peer_info['router']:
             result['router'].append(other['name'])