From 55b9e4e29bdfa2dc0442a27921773a2cc260a5bf Mon Sep 17 00:00:00 2001 From: Pete Zaitcev Date: Fri, 29 May 2015 17:55:59 -0600 Subject: [PATCH] rgw: Drop a redundant context_io.init Interestingly enough, the function is not even entirely idempotent: it prints debugging output, duplicated. Signed-off-by: Pete Zaitcev --- src/rgw/rgw_main.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 2a247e4191f24..9a8aa5f7b3d6d 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -716,9 +716,6 @@ static int civetweb_callback(struct mg_connection *conn) { RGWRequest *req = new RGWRequest(store->get_new_req_id()); RGWMongoose client_io(conn, pe->port); - client_io.init(g_ceph_context); - - int ret = process_request(store, rest, req, &client_io, olog); if (ret < 0) { /* we don't really care about return code */ -- 2.39.5