From: tangwenjun Date: Mon, 20 Feb 2017 06:11:27 +0000 (+0800) Subject: os/bluestore rm unused variable in aio_read() X-Git-Tag: v12.0.1~318^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e901b271c4114bed8327482c12a4b06b172a5784;p=ceph.git os/bluestore rm unused variable in aio_read() Signed-off-by: tangwenjun --- diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index 13011580d05d..9c971094a4cd 100644 --- a/src/os/bluestore/NVMEDevice.cc +++ b/src/os/bluestore/NVMEDevice.cc @@ -959,7 +959,6 @@ int NVMEDevice::aio_read( bufferptr p = buffer::create_page_aligned(len); pbl->append(p); - int r = 0; t->ctx = ioc; char *buf = p.c_str(); t->fill_cb = [buf, t]() {