Skip to content

Commit

Permalink
Merge pull request ceph#18799 from ivancich/wip-remove-StreamObjData
Browse files Browse the repository at this point in the history
rgw clean-up: remove unreferenced pure virtual class StreamObjData

Reviewed-by: Yehuda Sadeh <[email protected]>
  • Loading branch information
cbodley authored Nov 20, 2017
2 parents 83df8af + 79c369d commit 53898ed
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/rgw/rgw_rest_conn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,8 @@ int RGWRESTConn::forward(const rgw_user& uid, req_info& info, obj_version *objv,
return req.forward_request(key, info, max_response, inbl, outbl);
}

class StreamObjData : public RGWGetDataCB {
rgw_obj obj;
public:
explicit StreamObjData(rgw_obj& _obj) : obj(_obj) {}
};

int RGWRESTConn::put_obj_init(const rgw_user& uid, rgw_obj& obj, uint64_t obj_size,
map<string, bufferlist>& attrs, RGWRESTStreamWriteRequest **req)
map<string, bufferlist>& attrs, RGWRESTStreamWriteRequest **req)
{
string url;
int ret = get_url(url);
Expand Down

0 comments on commit 53898ed

Please sign in to comment.