]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: trivial fix to remove unused code block 9920/head
authorYuan Zhou <yuan.zhou@intel.com>
Fri, 24 Jun 2016 07:44:28 +0000 (15:44 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Fri, 24 Jun 2016 07:44:28 +0000 (15:44 +0800)
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
src/librbd/AioImageRequestWQ.cc

index fba79339fb74012ecf6c98f07d3ad03eb557b033..eb5d830967420d2511eaa16a4d2dc2361ce1f695 100644 (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);