diff options
author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2015-05-30 01:55:59 +0200 |
---|---|---|
committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2015-05-30 19:19:25 +0200 |
commit | 55b9e4e29bdfa2dc0442a27921773a2cc260a5bf (patch) | |
tree | 5be81326f8313e4e891d0bb4cbbba5c4d1b55a02 /src/rgw/rgw_main.cc | |
parent | Merge pull request #4727 from tchaikov/wip-osdmaptool-dump-tree-with-format (diff) | |
download | ceph-55b9e4e29bdfa2dc0442a27921773a2cc260a5bf.tar.xz ceph-55b9e4e29bdfa2dc0442a27921773a2cc260a5bf.zip |
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 <zaitcev@redhat.com>
Diffstat (limited to 'src/rgw/rgw_main.cc')
-rw-r--r-- | src/rgw/rgw_main.cc | 3 |
1 files changed, 0 insertions, 3 deletions
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 */ |