Commit 2e6777cf authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4235], remove unnecessary variable from kibbutz

git-svn-id: file:///svn/toku/tokudb@37577 c7de825b-a66e-492c-adef-691d508d4ae1
parent 467f52e6
......@@ -18,7 +18,6 @@ struct todo {
struct kid {
struct kibbutz *k;
int id;
};
struct kibbutz {
......@@ -45,7 +44,6 @@ KIBBUTZ toku_kibbutz_create (int n_workers) {
XMALLOC_N(n_workers, k->ids);
for (int i=0; i<n_workers; i++) {
k->ids[i].k = k;
k->ids[i].id = i;
int r = toku_pthread_create(&k->workers[i], NULL, work_on_kibbutz, &k->ids[i]);
assert(r==0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment