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:
Liao Pingfang 2020-07-14 10:02:17 +08:00
parent 1ac5c74502
commit 393741b768

View File

@ -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 "";