]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/rgw: remove unused variable bl 19570/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Mon, 18 Dec 2017 03:50:19 +0000 (11:50 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Mon, 18 Dec 2017 03:50:19 +0000 (11:50 +0800)
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/cls/rgw/cls_rgw.cc

index ba3d4c4bb1b2d720a7103fba06c6d9eb687b0372..8d199b78b654f36d0f5f4ddb3f3fdd50d2148ccf 100644 (file)
@@ -3431,9 +3431,6 @@ static int rgw_cls_lc_rm_entry(cls_method_context_t hctx, bufferlist *in, buffer
     return -EINVAL;
   }
 
-  bufferlist bl;
-  ::encode(op.entry, bl);
-
   int ret = cls_cxx_map_remove_key(hctx, op.entry.first);
   return ret;
 }