tdb: remove num_locks
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 04:31:07 +0000 (15:01 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Feb 2010 04:31:07 +0000 (15:01 +1030)
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>

No differences found