mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
KCC: remove unused variable from KCC.modify_repsFrom()
It looks as if this update bitfield was meant to be returned. It isn't, and none of the callers expect it. Good riddance. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
b845e29b26
commit
b08684c402
@ -621,15 +621,12 @@ class KCC(object):
|
||||
:return: None
|
||||
"""
|
||||
s_dnstr = s_dsa.dsa_dnstr
|
||||
update = 0x0
|
||||
|
||||
same_site = s_dnstr in self.my_site.dsa_table
|
||||
|
||||
# if schedule doesn't match then update and modify
|
||||
times = convert_schedule_to_repltimes(cn_conn.schedule)
|
||||
if times != t_repsFrom.schedule:
|
||||
t_repsFrom.schedule = times
|
||||
update |= drsuapi.DRSUAPI_DRS_UPDATE_SCHEDULE
|
||||
|
||||
# Bit DRS_PER_SYNC is set in replicaFlags if and only
|
||||
# if nTDSConnection schedule has a value v that specifies
|
||||
|
Reference in New Issue
Block a user