mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
osd/PGBackend: Remove superfluous breaks
Remove superfuous breaks, as there is a 'return' before them. Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
This commit is contained in:
parent
1ac5c74502
commit
393741b768
@ -261,16 +261,12 @@ private:
|
|||||||
switch (state) {
|
switch (state) {
|
||||||
case ECBackend::RecoveryOp::IDLE:
|
case ECBackend::RecoveryOp::IDLE:
|
||||||
return "IDLE";
|
return "IDLE";
|
||||||
break;
|
|
||||||
case ECBackend::RecoveryOp::READING:
|
case ECBackend::RecoveryOp::READING:
|
||||||
return "READING";
|
return "READING";
|
||||||
break;
|
|
||||||
case ECBackend::RecoveryOp::WRITING:
|
case ECBackend::RecoveryOp::WRITING:
|
||||||
return "WRITING";
|
return "WRITING";
|
||||||
break;
|
|
||||||
case ECBackend::RecoveryOp::COMPLETE:
|
case ECBackend::RecoveryOp::COMPLETE:
|
||||||
return "COMPLETE";
|
return "COMPLETE";
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
ceph_abort();
|
ceph_abort();
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user