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

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
src/common/shunique_lock.h

index 2a8da953c13ba06342e334f283c3a56b190745f1..5f809e83a8b5b5254e5ff5cd668e03a3d2c00065 100644 (file)
@@ -104,7 +104,6 @@ public:
     switch (o) {
     case ownership::none:
       return;
-      break;
     case ownership::unique:
       m->unlock();
       break;