From: Liao Pingfang Date: Tue, 14 Jul 2020 02:16:55 +0000 (+0800) Subject: rgw: Remove superfluous breaks X-Git-Tag: v16.1.0~1472^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e6871db3fe7cac12661f53058d0dda609b772c6;p=ceph.git rgw: Remove superfluous breaks Remove superfuous breaks, as there is a 'return' before them. Signed-off-by: Liao Pingfang --- diff --git a/src/cls/rgw/cls_rgw_types.h b/src/cls/rgw/cls_rgw_types.h index 2bc896b2c58..434feceeed3 100644 --- a/src/cls/rgw/cls_rgw_types.h +++ b/src/cls/rgw/cls_rgw_types.h @@ -729,13 +729,10 @@ inline std::string to_string(const cls_rgw_reshard_status status) switch (status) { case cls_rgw_reshard_status::NOT_RESHARDING: return "not-resharding"; - break; case cls_rgw_reshard_status::IN_PROGRESS: return "in-progress"; - break; case cls_rgw_reshard_status::DONE: return "done"; - break; }; return "Unknown reshard status"; }