Merge pull request #36067 from winndows/superfluous_break1

mon/OSDMonitor: Remove the superfluous break

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Kefu Chai 2020-07-19 14:00:05 +08:00 committed by GitHub
commit db8ab253ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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)) {