From: Pete Zaitcev Date: Fri, 29 May 2015 23:55:59 +0000 (-0600) Subject: rgw: Drop a redundant context_io.init X-Git-Tag: v9.0.2~81^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4810%2Fhead;p=ceph.git 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 --- diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 2a247e4191f..9a8aa5f7b3d 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 */