From 71ccd4f2b1c75f6f5f237e15b338ff3c6ae8f662 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 5 Aug 2019 07:35:01 +0200 Subject: [PATCH] objclass, osd: drop unused variable. Signed-off-by: Radoslaw Zarzynski --- src/osd/objclass.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/osd/objclass.cc b/src/osd/objclass.cc index e62aaed5824..2ac65fac5e2 100644 --- a/src/osd/objclass.cc +++ b/src/osd/objclass.cc @@ -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 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 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 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 nops(1); OSDOp& op = nops[0]; int r; -- 2.39.5