]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
KernelDevice: remove unused local variables
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 3 Feb 2016 02:42:08 +0000 (10:42 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 3 Feb 2016 02:54:51 +0000 (10:54 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/KernelDevice.cc

index f0ef28c6f09155a938d26a40dd0e717a23bfeef7..e931827c713dbc093ef79895ab99561f4fadfdba 100644 (file)
@@ -439,7 +439,6 @@ int KernelDevice::aio_zero(
     len -= t.length();
     bl.claim_append(t);
   }
-  bufferlist foo;
   // note: this works with aio only becaues the actual buffer is
   // this->zeros, which is page-aligned and never freed.
   return aio_write(off, bl, ioc, false);