summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/client_ips.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py
index 365f08650d..e31fa53c3f 100644
--- a/synapse/storage/client_ips.py
+++ b/synapse/storage/client_ips.py
@@ -103,9 +103,6 @@ class ClientIpStore(SQLBaseStore):
 
     @classmethod
     def _get_last_client_ip_by_device_txn(cls, txn, devices, retcols):
-        def where_clause_for_device(d):
-                return
-
         where_clauses = []
         bindings = []
         for (user_id, device_id) in devices: