From: Loic Dachary Date: Fri, 6 Dec 2013 23:27:09 +0000 (+0100) Subject: crush: remove obsolete comments from link_bucket X-Git-Tag: v0.74~21^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2cd73f9d3e7674ad872f05de6da7b2d83d2492f7;p=ceph.git crush: remove obsolete comments from link_bucket Probably copy/pasted from move_bucket. Signed-off-by: Loic Dachary --- diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index a46c80134aadd..691b5dd3afd0b 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -460,11 +460,9 @@ int CrushWrapper::link_bucket(CephContext *cct, int id, const map // get the name of the bucket we are trying to move for later string id_name = get_item_name(id); - // detach the bucket crush_bucket *b = get_bucket(id); unsigned bucket_weight = b->weight; - // insert the bucket back into the hierarchy return insert_item(cct, id, bucket_weight / (float)0x10000, id_name, loc); }