From 2a776d9f8d391e615503a2e17d077a58e4ab1ef9 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 10 Jun 2015 16:38:32 +1200 Subject: [PATCH] KCC: remove an unused variable in KCC.remove_unneeded_ntdsconn() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/kcc/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/samba/kcc/__init__.py b/python/samba/kcc/__init__.py index 01e7a2b61fd..c37b1b831d3 100644 --- a/python/samba/kcc/__init__.py +++ b/python/samba/kcc/__init__.py @@ -468,10 +468,6 @@ class KCC(object): cn_conn.to_be_deleted = True continue - # Get the source DSA no matter what site - # XXX s_dsa is NEVER USED. It will be removed. - s_dsa = self.get_dsa(s_dnstr) - #XXX should an RODC be regarded as same site same_site = s_dnstr in self.my_site.dsa_table -- 2.11.4.GIT