librbd: trivial fix to remove unused code block

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
This commit is contained in:
Yuan Zhou 2016-06-24 15:44:28 +08:00
parent 569babc629
commit 8d80c05029

View File

@ -36,9 +36,6 @@ ssize_t AioImageRequestWQ::read(uint64_t off, uint64_t len, char *buf,
ldout(cct, 20) << "read: ictx=" << &m_image_ctx << ", off=" << off << ", "
<< "len = " << len << dendl;
std::vector<std::pair<uint64_t,uint64_t> > image_extents;
image_extents.push_back(make_pair(off, len));
C_SaferCond cond;
AioCompletion *c = AioCompletion::create(&cond);
aio_read(c, off, len, buf, NULL, op_flags, false);