From: Liao Pingfang Date: Mon, 13 Jul 2020 11:49:29 +0000 (+0800) Subject: mon/OSDMonitor: Remove the superfluous break X-Git-Tag: v16.1.0~1679^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9037e21afd5aba7e419c0b5c9b7705c6ddbccf90;p=ceph.git mon/OSDMonitor: Remove the superfluous break Remove the superfuous break, as there is a 'return' before it. Signed-off-by: Liao Pingfang --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 41dc08c48e45..e93e75a72e7a 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -7649,7 +7649,6 @@ int OSDMonitor::prepare_pool_crush_rule(const unsigned pool_type, *ss << "prepare_pool_crush_rule: " << pool_type << " is not a known pool type"; return -EINVAL; - break; } } else { if (!osdmap.crush->ruleset_exists(*crush_rule)) {