]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: remove useless parameter
authorbaiyanchun <yanchun.bai@istuary.com>
Thu, 23 Mar 2017 02:38:15 +0000 (10:38 +0800)
committerbaiyanchun <yanchun.bai@istuary.com>
Thu, 23 Mar 2017 02:38:15 +0000 (10:38 +0800)
Signed-off-by: baiyanchun <yanchun.bai@istuary.com>
src/common/ceph_argparse.cc
src/common/ceph_argparse.h
src/global/global_init.cc

index df02434c4fbcc0e1daecd4352826cbec177b1bfa..df68b967ea22c3224bf183e032ad979009d4aa51 100644 (file)
@@ -457,7 +457,7 @@ bool ceph_argparse_witharg(std::vector<const char*> &args,
 }
 
 CephInitParameters ceph_argparse_early_args
-         (std::vector<const char*>& args, uint32_t module_type, int flags,
+         (std::vector<const char*>& args, uint32_t module_type,
           std::string *cluster, std::string *conf_file_list)
 {
   CephInitParameters iparams(module_type);
index b504b3508fb7d93bbaa31f5eaadcc648a037e0c1..3cf8b7a032ffef7cf838a06ea3b9995f653d1297 100644 (file)
@@ -68,7 +68,7 @@ bool ceph_argparse_binary_flag(std::vector<const char*> &args,
        std::vector<const char*>::iterator &i, int *ret,
        std::ostream *oss, ...);
 extern CephInitParameters ceph_argparse_early_args
-           (std::vector<const char*>& args, uint32_t module_type, int flags,
+           (std::vector<const char*>& args, uint32_t module_type,
             std::string *cluster, std::string *conf_file_list);
 extern void generic_server_usage();
 extern void generic_client_usage();
index 3a905c0b5763cf1c96fc1217a8241dc8a79b75e4..8d2f3cca3945334807e153edc44fa5cd40547f09 100644 (file)
@@ -83,7 +83,7 @@ void global_pre_init(std::vector < const char * > *alt_def_args,
 {
   std::string conf_file_list;
   std::string cluster = "";
-  CephInitParameters iparams = ceph_argparse_early_args(args, module_type, flags,
+  CephInitParameters iparams = ceph_argparse_early_args(args, module_type,
                                                        &cluster, &conf_file_list);
   CephContext *cct = common_preinit(iparams, code_env, flags, data_dir_option);
   cct->_conf->cluster = cluster;