]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: do not return "void"
authorKefu Chai <kchai@redhat.com>
Tue, 30 Jul 2019 11:43:10 +0000 (19:43 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 12 Aug 2019 10:01:46 +0000 (18:01 +0800)
to avoid potential confusions.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.cc

index b64f5f0dfb8898225642b1a0730a274e89f04db1..4c6116f81bba00848de57103bd1b113f723f1d62 100644 (file)
@@ -268,7 +268,7 @@ void PG::do_peering_event(
 {
   if (!peering_state.pg_has_reset_since(evt.get_epoch_requested())) {
     logger().debug("{} handling {}", __func__, evt.get_desc());
-    return do_peering_event(evt.get_event(), rctx);
+    do_peering_event(evt.get_event(), rctx);
   } else {
     logger().debug("{} ignoring {} -- pg has reset", __func__, evt.get_desc());
   }