]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: remove unused bufferlist
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Mon, 22 Feb 2016 09:55:17 +0000 (10:55 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Mon, 22 Feb 2016 09:55:17 +0000 (10:55 +0100)
This bufferlist isn't used, so just get rid of it.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/osd/ReplicatedPG.cc

index 3cd4bd95aa9946e1746231fda8f1ea401f0274c4..6c243ef173e3eaa6ec719784d562a8af754ad602 100644 (file)
@@ -4038,7 +4038,6 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
        }
 
        // read into a buffer
-       bufferlist bl;
        bool async = false;
        if (trimmed_read && op.extent.length == 0) {
          // read size was trimmed to zero and it is expected to do nothing