mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
FileStore: Remove unused code.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
This commit is contained in:
parent
1bcf40459c
commit
7de8d17d2f
@ -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