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) {
|
||||
case ECBackend::RecoveryOp::IDLE:
|
||||
return "IDLE";
|
||||
break;
|
||||
case ECBackend::RecoveryOp::READING:
|
||||
return "READING";
|
||||
break;
|
||||
case ECBackend::RecoveryOp::WRITING:
|
||||
return "WRITING";
|
||||
break;
|
||||
case ECBackend::RecoveryOp::COMPLETE:
|
||||
return "COMPLETE";
|
||||
break;
|
||||
default:
|
||||
ceph_abort();
|
||||
return "";
|
||||
|
Loading…
Reference in New Issue
Block a user