From: xie xingguo Date: Wed, 3 Feb 2016 02:42:08 +0000 (+0800) Subject: KernelDevice: remove unused local variables X-Git-Tag: v10.0.4~32^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cdbea720028d549e164f9607c9e2b14de6929b60;p=ceph.git KernelDevice: remove unused local variables Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/KernelDevice.cc b/src/os/bluestore/KernelDevice.cc index f0ef28c6f091..e931827c713d 100644 --- a/src/os/bluestore/KernelDevice.cc +++ b/src/os/bluestore/KernelDevice.cc @@ -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);