]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: return from init_complete directly 9979/head
authorYan Jun <yan.jun8@zte.com.cn>
Tue, 28 Jun 2016 08:39:21 +0000 (16:39 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Tue, 28 Jun 2016 08:39:56 +0000 (16:39 +0800)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_rados.cc

index 078fe9cd84c80155f0d29c4d59bdd562bf686649..8bbeda14c114dcd434518cd3b5fb4d9b198478fa 100644 (file)
@@ -3803,9 +3803,7 @@ int RGWRados::initialize()
   if (ret < 0)
     return ret;
 
-  ret = init_complete();
-
-  return ret;
+  return init_complete();
 }
 
 void RGWRados::finalize_watch()