From: Douglas Bagnall Date: Thu, 16 Nov 2017 03:47:32 +0000 (+1300) Subject: samba_kcc: remove an unused function X-Git-Tag: samba-4.8.0rc1~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a090d7ef52cfd2bbc8bdf7028db0e2237def1f3e;p=thirdparty%2Fsamba.git samba_kcc: remove an unused function Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/kcc/kcc_utils.py b/python/samba/kcc/kcc_utils.py index aefe1aa1a85..5ed02dd126a 100644 --- a/python/samba/kcc/kcc_utils.py +++ b/python/samba/kcc/kcc_utils.py @@ -1538,12 +1538,6 @@ class Site(object): if not dsa.is_ro(): self.rw_dsa_table[dnstr] = dsa - def get_dsa_by_guidstr(self, guidstr): # XXX unused - for dsa in self.dsa_table.values(): - if str(dsa.dsa_guid) == guidstr: - return dsa - return None - def get_dsa(self, dnstr): """Return a previously loaded DSA object by consulting the sites dsa_table for the provided DSA dn string