mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
Merge pull request #2392 from majianpeng/fix1
FileStore: Remove unused code. Reviewed-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
commit
36554f90eb
@ -1944,16 +1944,8 @@ int FileStore::_do_transactions(
|
||||
ThreadPool::TPHandle *handle)
|
||||
{
|
||||
int r = 0;
|
||||
|
||||
uint64_t bytes = 0, ops = 0;
|
||||
for (list<Transaction*>::iterator p = tls.begin();
|
||||
p != tls.end();
|
||||
++p) {
|
||||
bytes += (*p)->get_num_bytes();
|
||||
ops += (*p)->get_num_ops();
|
||||
}
|
||||
|
||||
int trans_num = 0;
|
||||
|
||||
for (list<Transaction*>::iterator p = tls.begin();
|
||||
p != tls.end();
|
||||
++p, trans_num++) {
|
||||
|
Loading…
Reference in New Issue
Block a user