]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: Remove the superfluous break 36067/head
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Mon, 13 Jul 2020 11:49:29 +0000 (19:49 +0800)
committerLiao Pingfang <liao.pingfang@zte.com.cn>
Mon, 13 Jul 2020 11:50:11 +0000 (19:50 +0800)
Remove the superfuous break, as there is a 'return' before it.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
src/mon/OSDMonitor.cc

index 41dc08c48e45b2f393cf3c7944e8646b3426b753..e93e75a72e7a37f7eb9948bde16e3737a008b104 100644 (file)
@@ -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)) {