diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-17 15:01:07 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-17 15:01:07 +1030 |
commit | 1ab8776247f89b143b6e58f4b038ab4bcea20d3a (patch) | |
tree | ddd2ace8920416e67b47ef791df8a0b760c96371 /lib/tdb/tools/tdbtool.c | |
parent | d48c3e4982a38fb6b568ed3903e55e07a0fe5ca6 (diff) | |
download | samba-1ab8776247f89b143b6e58f4b038ab4bcea20d3a.tar.gz samba-1ab8776247f89b143b6e58f4b038ab4bcea20d3a.tar.bz2 samba-1ab8776247f89b143b6e58f4b038ab4bcea20d3a.zip |
tdb: remove num_locks
This was redundant before this patch series: it mirrored num_lockrecs
exactly. It still does.
Also, skip useless branch when locks == 1: unconditional assignment is
cheaper anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb/tools/tdbtool.c')
0 files changed, 0 insertions, 0 deletions