replmd: Remove unnecessary replmd_build_la_val() param
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 28 Sep 2017 03:13:05 +0000 (16:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:21 +0000 (04:05 +0200)
commit9b3b09ce41b2ef4989656e4b6304e62be5f3095f
tree871052ea4a574b1cda2190a290108944f636289b
parentcd936a725cb7f651fef99dac59569947a31aaa70
replmd: Remove unnecessary replmd_build_la_val() param

replmd_build_la_val() is creating a new link attribute. In this case,
the RMD_ORIGINATING_USN and RMD_LOCAL_USN are always going to be the
same thing, so we don't need to pass them in as 2 separate parameters.

This isn't required for any bug fix, but is just a general code
tidy-up.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c