]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: remove unused bufferlist from rados_write_op_rmxattr 12030/head
authorPiotr Dałek <git@predictor.org.pl>
Wed, 16 Nov 2016 21:52:53 +0000 (22:52 +0100)
committerPiotr Dałek <git@predictor.org.pl>
Wed, 16 Nov 2016 21:52:53 +0000 (22:52 +0100)
rados_write_op_rmxattr declares the bl bufferlist variable, then doesn't make
any use of it. Get rid of it, as it's probably an effect of copy+paste.

Signed-off-by: Piotr Dałek <git@predictor.org.pl>
src/librados/librados.cc

index 944d0b3acd5740fb3bd4f66f99ec7f1336a10270..1bf0904cc0161efc0fc36031b974a61c461c8dae 100644 (file)
@@ -4941,7 +4941,6 @@ extern "C" void rados_write_op_rmxattr(rados_write_op_t write_op,
                                        const char *name)
 {
   tracepoint(librados, rados_write_op_rmxattr_enter, write_op, name);
-  bufferlist bl;
   ((::ObjectOperation *)write_op)->rmxattr(name);
   tracepoint(librados, rados_write_op_rmxattr_exit);
 }