diff --git a/src/librados-config.cc b/src/librados-config.cc index 07b1f12e32a..ca84724d07f 100644 --- a/src/librados-config.cc +++ b/src/librados-config.cc @@ -36,7 +36,6 @@ void usage_exit() int main(int argc, const char **argv) { vector args; - DEFINE_CONF_VARS(usage_exit); argv_to_vec(argc, argv, args); env_to_vec(args); @@ -60,9 +59,6 @@ int main(int argc, const char **argv) global_init(args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0); common_init_finish(g_ceph_context); - FOR_EACH_ARG(args) { - usage_exit(); - } if (!opt_version && !opt_vernum) usage_exit();