summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-21 11:58:47 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-21 11:58:47 +0100
commitc445f5fec7ed9e9228022be0cccc82f4bf028016 (patch)
tree88ffa32f90729e47d592399d8cbdc0f7df7a070c /synapse
parentFix PEP8 errors (diff)
downloadsynapse-c445f5fec7ed9e9228022be0cccc82f4bf028016.tar.xz
storage/client_ips: remove some dead code
Diffstat (limited to 'synapse')
-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: