source3/registry: Fix CID 1273421 Useless call
authorAnoop C S <achiraya@redhat.com>
Mon, 15 Jun 2015 09:10:00 +0000 (14:40 +0530)
committerMichael Adam <obnox@samba.org>
Mon, 15 Jun 2015 17:56:45 +0000 (19:56 +0200)
Signed-off-by: Anoop C S <achiraya@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/registry/reg_perfcount.c

index 0770f210d0b4878fe454d1255dee76c53ef44efc..997701d4d54a70b2babfac63053c4f27608a9d4d 100644 (file)
@@ -1143,8 +1143,6 @@ static uint32_t reg_perfcount_get_perf_data_block(uint32_t base_index,
                return 0;
        }
 
-       reg_perfcount_get_last_counter(base_index);
-
        retval = _reg_perfcount_assemble_global(block, mem_ctx, base_index, names);
 
        buffer_size = _reg_perfcount_perf_data_block_fixup(block, mem_ctx);