git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4907196
)
vacuum: remove unused counter vdata->total
author
Michael Adam
<obnox@samba.org>
Wed, 19 Feb 2014 23:29:47 +0000
(
00:29
+0100)
committer
Amitay Isaacs
<amitay@gmail.com>
Thu, 6 Mar 2014 06:35:34 +0000
(17:35 +1100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit
ec3f33c314207f93529d7c9a2bfb82bf05e3a08b
)
server/ctdb_vacuum.c
patch
|
blob
|
history
diff --git
a/server/ctdb_vacuum.c
b/server/ctdb_vacuum.c
index 689b8535f09044a7609beb7a405567ba1f632170..ec0e8d0bea725c9c21da9984755a52764f4a0f6c 100644
(file)
--- a/
server/ctdb_vacuum.c
+++ b/
server/ctdb_vacuum.c
@@
-63,7
+63,6
@@
struct vacuum_data {
struct timeval start;
bool traverse_error;
bool vacuum;
- uint32_t total;
uint32_t vacuumed;
uint32_t copied;
uint32_t fast_added_to_vacuum_fetch_list;
@@
-202,8
+201,6
@@
static int add_record_to_vacuum_fetch_list(struct vacuum_data *vdata,
memcpy(old_size+(uint8_t *)vfl, rec, rec->length);
talloc_free(rec);
- vdata->total++;
-
return 0;
}