KCC: remove essentially dead code
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 1 Apr 2015 02:28:26 +0000 (15:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 May 2015 09:08:21 +0000 (11:08 +0200)
commit6200432d85a212b81687eefc53e96129a4388a07
tree1ac2543f3db79095a2c57ef09bef4d7bd3c8f09e
parentb75ec6d7fa645ef9e648842f70c1c26446219b32
KCC: remove essentially dead code

As the removed comment noted, the logic goes:

    if partial:           # ~60 lines up
       if not partial:
           ...

and we have kept it there for this long because the spec implies it.

(As a matter of fact I can't see how this entire `if partial` loop does
anything of consequence, given the previous loop didn't exclude the
partial case).

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>
source4/scripting/bin/samba_kcc