]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
objclass, osd: drop unused variable.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 5 Aug 2019 05:35:01 +0000 (07:35 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Sat, 24 Aug 2019 01:33:57 +0000 (03:33 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/objclass.cc

index e62aaed58242304ebca4d85ba7a2dee6f4ceffc0..2ac65fac5e23829e7a4fd6930a7caa528d1808ca 100644 (file)
@@ -52,7 +52,6 @@ int cls_getxattr(cls_method_context_t hctx, const char *name,
                                  char **outdata, int *outdatalen)
 {
   PrimaryLogPG::OpContext **pctx = (PrimaryLogPG::OpContext **)hctx;
-  bufferlist name_data;
   vector<OSDOp> nops(1);
   OSDOp& op = nops[0];
   int r;
@@ -77,7 +76,6 @@ int cls_setxattr(cls_method_context_t hctx, const char *name,
                                  const char *value, int val_len)
 {
   PrimaryLogPG::OpContext **pctx = (PrimaryLogPG::OpContext **)hctx;
-  bufferlist name_data;
   vector<OSDOp> nops(1);
   OSDOp& op = nops[0];
   int r;
@@ -256,7 +254,6 @@ int cls_cxx_getxattr(cls_method_context_t hctx, const char *name,
                      bufferlist *outbl)
 {
   PrimaryLogPG::OpContext **pctx = (PrimaryLogPG::OpContext **)hctx;
-  bufferlist name_data;
   vector<OSDOp> nops(1);
   OSDOp& op = nops[0];
   int r;
@@ -297,7 +294,6 @@ int cls_cxx_setxattr(cls_method_context_t hctx, const char *name,
                      bufferlist *inbl)
 {
   PrimaryLogPG::OpContext **pctx = (PrimaryLogPG::OpContext **)hctx;
-  bufferlist name_data;
   vector<OSDOp> nops(1);
   OSDOp& op = nops[0];
   int r;