FileStore: Remove unused code.

Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
This commit is contained in:
Ma Jianpeng 2014-09-04 14:01:20 +08:00
parent 1bcf40459c
commit 7de8d17d2f

View File

@ -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++) {